summaryrefslogtreecommitdiff
path: root/vimscript/nv-commentary
diff options
context:
space:
mode:
authorChris <[email protected]>2021-03-16 22:06:38 -0400
committerChris <[email protected]>2021-03-16 22:06:38 -0400
commitbe6c6ca92fa9e1f596bfaef0c1197b7144d70036 (patch)
treef2b98636732f70d6a5e9a7e82a075766e8506149 /vimscript/nv-commentary
parent1bcb1fd6edd02b804f7704c5ef70c1e7c34db0a5 (diff)
udpates
Diffstat (limited to 'vimscript/nv-commentary')
-rw-r--r--vimscript/nv-commentary/init.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vimscript/nv-commentary/init.vim b/vimscript/nv-commentary/init.vim
index 284e6286..76e32b21 100644
--- a/vimscript/nv-commentary/init.vim
+++ b/vimscript/nv-commentary/init.vim
@@ -6,6 +6,6 @@ function! Comment()
endif
endfunction
vnoremap <silent> <space>/ :call Comment()
-"autocmd! BufRead,BufNewFile *.{jsx,jx,js} setlocal filetype=javascript.jsx
-autocmd FileType javascriptreact setlocal commentstring={/*\ %s\ */}
+autocmd! BufRead,BufNewFile *.{jsx,jx,js} setlocal filetype=javascript
+"autocmd FileType javascriptreact setlocal commentstring={/*\ %s\ */}