add txt files to g:denote_note_file_extension

This commit is contained in:
2026-02-17 19:49:10 +01:00
parent 1fd1e9aaa0
commit 81c5d3f849
4 changed files with 8 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
" Go to file command |gf| adjustments {{{1
" This resolves denote links in markdown and org files. The function has access
" to the variable v:fname, which corresponds to the filename under the cursor.
" This resolves denote links. The function has access to the variable v:fname,
" which corresponds to the filename under the cursor.
function s:DenoteGotoFile()
return v:fname !~ "^denote:"
\ ? v:fname