aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/after/plugin/spellfile_local.vim7
m---------vim/bundle/spellfile_local0
-rw-r--r--vim/vimrc11
3 files changed, 8 insertions, 10 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
diff --git a/vim/bundle/spellfile_local b/vim/bundle/spellfile_local
-Subproject cb792a082202bba673ccf0f6f58a8ce2cf44f07
+Subproject 4fcb24eb8a331efff973585377606e6a3a018fc
diff --git a/vim/vimrc b/vim/vimrc
index 06ea0637..ebd9de3d 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -2,7 +2,7 @@
" Tom Ryder (tejr)’s Literate Vimrc
" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
"
-" Last updated: Mon, 11 May 2020 09:22:45 UTC
+" Last updated: Thu, 14 May 2020 08:24:17 UTC
"
" │ And I was lifted up in heart, and thought
" │ Of all my late-shown prowess in the lists,
@@ -165,15 +165,6 @@ if !empty(s:xdgconfigpaths)
endif
unlet s:xdgconfigpaths
-" Now put the XDG cache home at the very front, so that e.g. 'spellfile' gets
-" created in there rather than in the configuration directories.
-"
-if xdg#['cache']['home'] !=# ''
- execute 'set runtimepath^='.option#Escape(
- \ option#item#Escape(xdg#['cache']['home'])
- \)
-endif
-
" We need a command to reliably establish a full path, whether or not the
" directories already exist. We create a wrapper for the autoloaded function
" path#Create() with similar calling conventions to mkdir(), but with the ‘p’