aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-15 01:29:38 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-15 01:29:38 +1200
commitc40c7681ec3f36c3c42c07e5ba2e3b11c065de9c (patch)
treeec30e837e2f70891a0bda287fcbe3cbed7c74a9f /vim
parentMerge branch 'release/v8.37.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-c40c7681ec3f36c3c42c07e5ba2e3b11c065de9c.tar.gz
dotfiles-c40c7681ec3f36c3c42c07e5ba2e3b11c065de9c.zip
Merge branch 'hotfix/v8.37.1'v8.37.1
* hotfix/v8.37.1: 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