diff options
Diffstat (limited to 'vim/after/plugin/spellfile_local.vim')
-rw-r--r-- | vim/after/plugin/spellfile_local.vim | 15 |
1 files changed, 8 insertions, 7 deletions
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 |