diff options
author | Chris <[email protected]> | 2021-03-17 00:17:41 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2021-03-17 00:17:41 -0400 |
commit | 4308a669776cf1ea2703f4ad26dc39c622e847bb (patch) | |
tree | 22c7873024c6c2be5e9f976243cd7a9e83c83997 /vimscript/nv-commentary/init.vim | |
parent | 7da8f32a958a7dd8947c450db0a9d74af95e866e (diff) |
wrap lsp functions in simple commands
Diffstat (limited to 'vimscript/nv-commentary/init.vim')
-rw-r--r-- | vimscript/nv-commentary/init.vim | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/vimscript/nv-commentary/init.vim b/vimscript/nv-commentary/init.vim deleted file mode 100644 index 76e32b21..00000000 --- a/vimscript/nv-commentary/init.vim +++ /dev/null @@ -1,11 +0,0 @@ -function! Comment() - if (mode() == "n" ) - execute "Commentary" - else - execute "'<,'>Commentary" - endif - endfunction -vnoremap <silent> <space>/ :call Comment() -autocmd! BufRead,BufNewFile *.{jsx,jx,js} setlocal filetype=javascript -"autocmd FileType javascriptreact setlocal commentstring={/*\ %s\ */} - |