diff options
author | tsxv478 <vt0451@yandex.ru> | 2023-03-18 03:28:56 +0300 |
---|---|---|
committer | tsxv478 <vt0451@yandex.ru> | 2023-03-18 03:28:56 +0300 |
commit | 966e2489aaca16457951e277850471a9053e961e (patch) | |
tree | 86d2b231d9290917ef5eb8a5ef89e0a3db568d71 | |
parent | 05ab45c2b1e4ba6104657199c139873bacaab63c (diff) |
comment out lsp stuff
-rw-r--r-- | nvim/init.vim | 22 |
1 files 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 <leader>f :NERDTreeToggle<CR> " lua require('lspconfig').rls.setup{} " lua require('lspconfig').quick_lint_js.setup{} -nmap <silent> gd <cmd>lua vim.lsp.buf.definition()<CR> -nmap <silent> gD <cmd>lua vim.lsp.buf.declaration()<CR> -nmap <silent> gK <cmd>lua vim.lsp.buf.hover()<CR> -nmap <silent> gz <cmd>lua vim.lsp.buf.references()<CR> -nmap <silent> <leader>n <cmd>lua vim.lsp.buf.rename()<CR> -nmap <silent> <leader>b <cmd>lua vim.lsp.buf.formatting()<CR> -nmap <silent> <leader>a <cmd>lua vim.lsp.buf.code_action()<CR> -nmap <silent> <leader>w <cmd>lua vim.lsp.buf.workspace_symbol()<CR> -nmap <silent> <leader>l <cmd>lua vim.diagnostic.setloclist()<CR> -nmap <silent> ]g <cmd>lua vim.diagnostic.goto_next()<CR> -nmap <silent> [g <cmd>lua vim.diagnostic.goto_prev()<CR> +" nmap <silent> gd <cmd>lua vim.lsp.buf.definition()<CR> +" nmap <silent> gD <cmd>lua vim.lsp.buf.declaration()<CR> +" nmap <silent> gK <cmd>lua vim.lsp.buf.hover()<CR> +" nmap <silent> gz <cmd>lua vim.lsp.buf.references()<CR> +" nmap <silent> <leader>n <cmd>lua vim.lsp.buf.rename()<CR> +" nmap <silent> <leader>b <cmd>lua vim.lsp.buf.formatting()<CR> +" nmap <silent> <leader>a <cmd>lua vim.lsp.buf.code_action()<CR> +" nmap <silent> <leader>w <cmd>lua vim.lsp.buf.workspace_symbol()<CR> +" nmap <silent> <leader>l <cmd>lua vim.diagnostic.setloclist()<CR> +" nmap <silent> ]g <cmd>lua vim.diagnostic.goto_next()<CR> +" nmap <silent> [g <cmd>lua vim.diagnostic.goto_prev()<CR> autocmd FileType c map <buffer> <leader>e :w<CR>:exec '!gcc' shellescape(@%, 1) '-o out; ./out'<CR> autocmd FileType python map <buffer> <leader>e :w<CR>:exec '!python' shellescape(@%, 1)<CR> |