diff options
-rw-r--r-- | VERSION | 4 | ||||
-rw-r--r-- | vim/after/plugin/spellfile_local.vim | 15 |
2 files changed, 10 insertions, 9 deletions
@@ -1,2 +1,2 @@ -tejr dotfiles v8.37.0 -Thu, 14 May 2020 13:22:38 +0000 +tejr dotfiles v8.37.1 +Thu, 14 May 2020 13:27:19 +0000 diff --git a/vim/after/plugin/spellfile_local.vim b/vim/after/plugin/spellfile_local.vim index b40736ab..9d89852e 100644 --- a/vim/after/plugin/spellfile_local.vim +++ b/vim/after/plugin/spellfile_local.vim @@ -1,7 +1,8 @@ -"if xdg#['data']['home'] !=# '' -" let g:spellfile_local_dirs = [ xdg#['data']['home'] ] -" call extend( -" \ g:spellfile_local_dirs, -" \ copy(xdg#['data']['dirs']) -" \) -"endif +" Use XDG dirs for 'spellfile' +if xdg#['data']['home'] !=# '' + let g:spellfile_local_dirs = [ xdg#['data']['home'] ] + call extend( + \ g:spellfile_local_dirs, + \ copy(xdg#['data']['dirs']) + \) +endif |