diff options
Diffstat (limited to 'after/ftplugin/tsx.vim')
-rw-r--r-- | after/ftplugin/tsx.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/after/ftplugin/tsx.vim b/after/ftplugin/tsx.vim index e29d1e41..7cca61cf 100644 --- a/after/ftplugin/tsx.vim +++ b/after/ftplugin/tsx.vim @@ -20,11 +20,11 @@ if exists("loaded_matchup") let b:match_skip = 's:comment\|string' endif -let b:original_commentstring = &l:commentstring +let b:jsx_pretty_old_cms = &l:commentstring augroup jsx_comment autocmd! CursorMoved <buffer> - autocmd CursorMoved <buffer> call jsx_pretty#comment#update_commentstring(b:original_commentstring) + autocmd CursorMoved <buffer> call jsx_pretty#comment#update_commentstring(b:jsx_pretty_old_cms) augroup end setlocal suffixesadd+=.tsx |