From 06c386f6d7e737fe22927190be6057c2e09240df Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 15 Mar 2021 23:33:50 +0100 Subject: Delete old vim scripts --- .config/nvim/plug-config/lsp-config.vim | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .config/nvim/plug-config/lsp-config.vim (limited to '.config/nvim/plug-config/lsp-config.vim') diff --git a/.config/nvim/plug-config/lsp-config.vim b/.config/nvim/plug-config/lsp-config.vim deleted file mode 100644 index f9150a2..0000000 --- a/.config/nvim/plug-config/lsp-config.vim +++ /dev/null @@ -1,19 +0,0 @@ -" LSP config (the mappings used in the default file don't quite work right) -nnoremap gd lua vim.lsp.buf.definition() -nnoremap gD lua vim.lsp.buf.declaration() -nnoremap gr lua vim.lsp.buf.references() -nnoremap gi lua vim.lsp.buf.implementation() -nnoremap ca :Lspsaga code_action -" nnoremap K lua vim.lsp.buf.hover() -nnoremap K :Lspsaga hover_doc -nnoremap lua vim.lsp.buf.signature_help() -" nnoremap lua vim.lsp.diagnostic.goto_prev() -" nnoremap lua vim.lsp.diagnostic.goto_next() -nnoremap :Lspsaga diagnostic_jump_prev -nnoremap :Lspsaga diagnostic_jump_next - -" autoformat -autocmd BufWritePre *.js lua vim.lsp.buf.formatting_sync(nil, 100) -autocmd BufWritePre *.jsx lua vim.lsp.buf.formatting_sync(nil, 100) -autocmd BufWritePre *.lua lua vim.lsp.buf.formatting_sync(nil, 100) -" autocmd BufWritePre *.py lua vim.lsp.buf.formatting_sync(nil, 100) -- cgit v1.2.3-70-g09d2