aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/vimrc b/vim/vimrc
index f4b0d329..33ac602e 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -2,7 +2,7 @@
" Tom Ryder (tejr)’s Literate Vimrc
" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
"
-" Last updated: Sun, 03 May 2020 03:40:34 UTC
+" Last updated: Sun, 03 May 2020 03:44:03 UTC
"
" │ And I was lifted up in heart, and thought
" │ Of all my late-shown prowess in the lists,
@@ -107,7 +107,7 @@ endif
" directories to the end of it, in reverse order, forming the desired layers
" of configuration.
"
-let s:xdgconfigpaths = xdg#['config']['dirs']
+let s:xdgconfigpaths = copy(xdg#['config']['dirs'])
if xdg#['config']['home'] !=# ''
call insert(s:xdgconfigpaths, xdg#['config']['home'])
endif
@@ -410,7 +410,7 @@ set spellcapcheck=[.?!]\\%(\ \ \\\|[\\n\\r\\t]\\)
" 'isfname'; the blacklist is hard-coded.
"
set dictionary^=/usr/share/dict/words
-let s:refdirs = xdg#['data']['dirs']
+let s:refdirs = copy(xdg#['data']['dirs'])
if xdg#['data']['home'] !=# ''
call insert(s:refdirs, xdg#['data']['home'])
endif