diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-03 15:44:21 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-03 15:44:21 +1200 |
commit | 8293c20476a36be8b7f0fb0c30c1a348370ed581 (patch) | |
tree | e6f991a0461962905aad8129467dda2232e38064 | |
parent | Write v:null back out of XDG routines (diff) | |
download | dotfiles-8293c20476a36be8b7f0fb0c30c1a348370ed581.tar.gz dotfiles-8293c20476a36be8b7f0fb0c30c1a348370ed581.zip |
Copy, don't reference XDG basedir lists
-rw-r--r-- | vim/vimrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |