From 4308a669776cf1ea2703f4ad26dc39c622e847bb Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 17 Mar 2021 00:17:41 -0400 Subject: wrap lsp functions in simple commands --- vimscript/nv-commentary/init.vim | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 vimscript/nv-commentary/init.vim (limited to 'vimscript/nv-commentary/init.vim') 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 / :call Comment() -autocmd! BufRead,BufNewFile *.{jsx,jx,js} setlocal filetype=javascript -"autocmd FileType javascriptreact setlocal commentstring={/*\ %s\ */} - -- cgit v1.2.3