diff options
Diffstat (limited to 'vim')
-rw-r--r-- | vim/after/plugin/spellfile_local.vim | 7 | ||||
m--------- | vim/bundle/spellfile_local | 0 | ||||
-rw-r--r-- | vim/filetype.vim | 3 | ||||
-rw-r--r-- | vim/vimrc | 11 |
4 files changed, 10 insertions, 11 deletions
diff --git a/vim/after/plugin/spellfile_local.vim b/vim/after/plugin/spellfile_local.vim new file mode 100644 index 00000000..b40736ab --- /dev/null +++ b/vim/after/plugin/spellfile_local.vim @@ -0,0 +1,7 @@ +"if xdg#['data']['home'] !=# '' +" let g:spellfile_local_dirs = [ xdg#['data']['home'] ] +" call extend( +" \ g:spellfile_local_dirs, +" \ copy(xdg#['data']['dirs']) +" \) +"endif diff --git a/vim/bundle/spellfile_local b/vim/bundle/spellfile_local -Subproject cb792a082202bba673ccf0f6f58a8ce2cf44f07 +Subproject 4fcb24eb8a331efff973585377606e6a3a018fc diff --git a/vim/filetype.vim b/vim/filetype.vim index 1e34f42c..339824f0 100644 --- a/vim/filetype.vim +++ b/vim/filetype.vim @@ -209,7 +209,8 @@ augroup filetypedetect " Mutt configuration files autocmd BufNewFile,BufRead \ Muttrc - \,*/.muttrc.d/*.rc + \,*/.muttrc.d/?*.rc + \,*/muttrc.d/?*.rc \,.muttrc \,muttrc \,/etc/Muttrc.d/* @@ -2,7 +2,7 @@ " Tom Ryder (tejr)’s Literate Vimrc " ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ " -" Last updated: Mon, 11 May 2020 09:22:45 UTC +" Last updated: Thu, 14 May 2020 08:24:17 UTC " " │ And I was lifted up in heart, and thought " │ Of all my late-shown prowess in the lists, @@ -165,15 +165,6 @@ if !empty(s:xdgconfigpaths) endif unlet s:xdgconfigpaths -" Now put the XDG cache home at the very front, so that e.g. 'spellfile' gets -" created in there rather than in the configuration directories. -" -if xdg#['cache']['home'] !=# '' - execute 'set runtimepath^='.option#Escape( - \ option#item#Escape(xdg#['cache']['home']) - \) -endif - " We need a command to reliably establish a full path, whether or not the " directories already exist. We create a wrapper for the autoloaded function " path#Create() with similar calling conventions to mkdir(), but with the ‘p’ |