diff --git a/autoload/nerdcommenter.vim b/autoload/nerdcommenter.vim index 165bfc4..3a1e552 100644 --- a/autoload/nerdcommenter.vim +++ b/autoload/nerdcommenter.vim @@ -486,7 +486,7 @@ function! nerdcommenter#SetUp() abort let b:NERDSexyComMarker = '' if has_key(s:delimiterMap, filetype) - let b:NERDCommenterDelims = s:delimiterMap[filetype] + let b:NERDCommenterDelims = copy(s:delimiterMap[filetype]) for i in ['left', 'leftAlt', 'right', 'rightAlt'] if !has_key(b:NERDCommenterDelims, i) let b:NERDCommenterDelims[i] = ''