diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-09 17:09:54 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-09 17:09:54 +1200 |
commit | e70873d465f8f2056199d35dd3f0f2f6ffa2b34a (patch) | |
tree | ab56e213fd1d228118c04d034d537194062a388f | |
parent | Merge branch 'hotfix/v0.2.1' (diff) | |
parent | Bump VERSION (diff) | |
download | vim-spellfile-local-e70873d465f8f2056199d35dd3f0f2f6ffa2b34a.tar.gz vim-spellfile-local-e70873d465f8f2056199d35dd3f0f2f6ffa2b34a.zip |
Merge branch 'hotfix/v0.2.2' into develop
* hotfix/v0.2.2:
Copy list before mapping it for a join
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | autoload/spellfile_local.vim | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1 +1 @@ -0.2.1 +0.2.2 diff --git a/autoload/spellfile_local.vim b/autoload/spellfile_local.vim index 92ace4c..eba7358 100644 --- a/autoload/spellfile_local.vim +++ b/autoload/spellfile_local.vim @@ -111,7 +111,7 @@ endfunction " Join a list of strings into a comma-separated option function! s:OptionJoin(list) abort return join(map( - \ a:list, + \ copy(a:list), \ 'substitute(v:val, ''\\\@<!,'', ''\\,'', ''g'')', \), ',') endfunction |