From 8293c20476a36be8b7f0fb0c30c1a348370ed581 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 3 May 2020 15:44:21 +1200 Subject: Copy, don't reference XDG basedir lists --- vim/vimrc | 6 +++--- 1 file 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 -- cgit v1.2.3