|
@@ -6,3 +6,5 @@ function! Comment()
|
|
endif
|
|
endif
|
|
endfunction
|
|
endfunction
|
|
vnoremap <silent> <space>/ :call Comment()
|
|
vnoremap <silent> <space>/ :call Comment()
|
|
|
|
+autocmd! BufRead,BufNewFile *.{jsx,jx,js} setlocal filetype=javascript.jsx
|
|
|
|
+autocmd FileType javascript.jsx setlocal commentstring={/*\ %s\ */}
|