diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-17 02:16:47 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-17 02:16:47 +1200 |
commit | 1286e68d6efbd5e54eb98f4931c5b2a8ae6e9084 (patch) | |
tree | ef47dfcf041ec7fbef66ed18fb47fab269039dcd | |
parent | Remove vestigial reference to $MYVIM without cond (diff) | |
download | dotfiles-1286e68d6efbd5e54eb98f4931c5b2a8ae6e9084.tar.gz dotfiles-1286e68d6efbd5e54eb98f4931c5b2a8ae6e9084.zip |
Remove inappropriate reverse() call
-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: Sat, 16 May 2020 04:49:55 UTC +" Last updated: Sat, 16 May 2020 04:57:25 UTC " " │ And I was lifted up in heart, and thought " │ Of all my late-shown prowess in the lists, @@ -438,10 +438,10 @@ if xdg#DataHome() !=# '' || !empty(xdg#DataDirs()) \ 'option#item#Escape(v:val.''/dictionary.txt'')' \), ',')) execute 'set thesaurus^='.option#Escape(join(map( - \ reverse(extend( + \ extend( \ xdg#DataHome() !=# '' ? [xdg#DataHome()] : [], \ xdg#DataDirs() - \)), + \), \ 'option#item#Escape(v:val.''/thesaurus.txt'')' \), ',')) endif |