aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VERSION2
-rw-r--r--autoload/spellfile_local.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index 0c62199..ee1372d 100644
--- a/VERSION
+++ b/VERSION
@@ -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