diff options
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -2,7 +2,7 @@ " Tom Ryder (tejr)’s Literate Vimrc " ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ " -" Last updated: Sat, 09 May 2020 01:47:32 UTC +" Last updated: Sat, 09 May 2020 04:57:54 UTC " " │ And I was lifted up in heart, and thought " │ Of all my late-shown prowess in the lists, @@ -118,10 +118,12 @@ if xdg#['config']['home'] !=# '' endif if !empty(s:xdgconfigpaths) execute 'set runtimepath^='.option#Escape(join(map( - \ s:xdgconfigpaths, 'option#item#Escape(v:val)' + \ copy(s:xdgconfigpaths), + \ 'option#item#Escape(v:val)' \), ',')) execute 'set runtimepath+='.option#Escape(join(map( - \ reverse(s:xdgconfigpaths), 'option#item#Escape(v:val.''/after'')' + \ reverse(copy(s:xdgconfigpaths)), + \ 'option#item#Escape(v:val.''/after'')' \), ',')) endif unlet s:xdgconfigpaths @@ -427,10 +429,12 @@ endif if !empty(s:refdirs) try execute 'set dictionary^='.option#Escape(join(map( - \ s:refdirs, 'option#item#Escape(v:val.''/dictionary.txt'')' + \ copy(s:refdirs), + \ 'option#item#Escape(v:val.''/dictionary.txt'')' \), ',')) execute 'set thesaurus^='.option#Escape(join(map( - \ s:refdirs, 'option#item#Escape(v:val.''/thesaurus.txt'')' + \ copy(s:refdirs), + \ 'option#item#Escape(v:val.''/thesaurus.txt'')' \), ',')) catch /^Vim\%((\a\+)\)\=:E474:/ endtry |