add <leader>e to show errors | need optimization
This commit is contained in:
parent
6262c250a5
commit
e3ed38ab86
@ -9,6 +9,7 @@
|
|||||||
(nvim.set_keymap "" :gi "<cmd>lua vim.lsp.buf.implementation()<CR>" {:silent true :noremap true})
|
(nvim.set_keymap "" :gi "<cmd>lua vim.lsp.buf.implementation()<CR>" {:silent true :noremap true})
|
||||||
(nvim.set_keymap "" :gr "<cmd>lua vim.lsp.buf.references()<CR>" {:silent true :noremap true})
|
(nvim.set_keymap "" :gr "<cmd>lua vim.lsp.buf.references()<CR>" {:silent true :noremap true})
|
||||||
(nvim.set_keymap "" :gs "<cmd>lua vim.lsp.buf.signature_help()<CR>" {:silent true :noremap true})
|
(nvim.set_keymap "" :gs "<cmd>lua vim.lsp.buf.signature_help()<CR>" {:silent true :noremap true})
|
||||||
|
(nvim.set_keymap "" :<leader>e "<cmd>lua vim.lsp.diagnostic.show_line_diagnostics()<CR>" {:silent true :noremap true})
|
||||||
|
|
||||||
(lspconfig.rust_analyzer.setup {})
|
(lspconfig.rust_analyzer.setup {})
|
||||||
(lspconfig.gopls.setup {})
|
(lspconfig.gopls.setup {})
|
||||||
|
Loading…
Reference in New Issue
Block a user