From 966e2489aaca16457951e277850471a9053e961e Mon Sep 17 00:00:00 2001 From: tsxv478 Date: Sat, 18 Mar 2023 03:28:56 +0300 Subject: comment out lsp stuff --- nvim/init.vim | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/nvim/init.vim b/nvim/init.vim index f63195c..f1bb2c1 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -67,17 +67,17 @@ nnoremap f :NERDTreeToggle " lua require('lspconfig').rls.setup{} " lua require('lspconfig').quick_lint_js.setup{} -nmap gd lua vim.lsp.buf.definition() -nmap gD lua vim.lsp.buf.declaration() -nmap gK lua vim.lsp.buf.hover() -nmap gz lua vim.lsp.buf.references() -nmap n lua vim.lsp.buf.rename() -nmap b lua vim.lsp.buf.formatting() -nmap a lua vim.lsp.buf.code_action() -nmap w lua vim.lsp.buf.workspace_symbol() -nmap l lua vim.diagnostic.setloclist() -nmap ]g lua vim.diagnostic.goto_next() -nmap [g lua vim.diagnostic.goto_prev() +" nmap gd lua vim.lsp.buf.definition() +" nmap gD lua vim.lsp.buf.declaration() +" nmap gK lua vim.lsp.buf.hover() +" nmap gz lua vim.lsp.buf.references() +" nmap n lua vim.lsp.buf.rename() +" nmap b lua vim.lsp.buf.formatting() +" nmap a lua vim.lsp.buf.code_action() +" nmap w lua vim.lsp.buf.workspace_symbol() +" nmap l lua vim.diagnostic.setloclist() +" nmap ]g lua vim.diagnostic.goto_next() +" nmap [g lua vim.diagnostic.goto_prev() autocmd FileType c map e :w:exec '!gcc' shellescape(@%, 1) '-o out; ./out' autocmd FileType python map e :w:exec '!python' shellescape(@%, 1) -- cgit v1.2.3