aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-15 01:27:05 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-15 01:27:05 +1200
commit5380a423b11187254dbd1b5ae264893304067aff (patch)
treecf6c509fa2cbdc40e0a704839f64a2bb626de99b /vim
parentMerge branch 'release/v8.37.0' (diff)
downloaddotfiles-5380a423b11187254dbd1b5ae264893304067aff.tar.gz
dotfiles-5380a423b11187254dbd1b5ae264893304067aff.zip
Un-comment some code
Diffstat (limited to 'vim')
-rw-r--r--vim/after/plugin/spellfile_local.vim15
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