diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-15 01:16:01 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-15 01:16:01 +1200 |
commit | c6d88d4bc8b28527be312c760e305621d974890f (patch) | |
tree | cd967f9893c5112fd2b1a719d0c5563dc817fbca /vim/after | |
parent | Add Mutt config match patterns for XDG (diff) | |
download | dotfiles-c6d88d4bc8b28527be312c760e305621d974890f.tar.gz dotfiles-c6d88d4bc8b28527be312c760e305621d974890f.zip |
Don't put spell in cache, update spell plugin
Spell files should go in the XDG data dirs, ideally; update to a version
of spellfile_local.vim that allows that, with the necessary
configuration in ~/.vim/after/plugin.
Diffstat (limited to 'vim/after')
-rw-r--r-- | vim/after/plugin/spellfile_local.vim | 7 |
1 files changed, 7 insertions, 0 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 |