diff --git a/init.lua b/init.lua index 437f58e7..0e88fd51 100644 --- a/init.lua +++ b/init.lua @@ -500,7 +500,7 @@ require('lazy').setup({ -- Execute a code action, usually your cursor needs to be on top of an error -- or a suggestion from your LSP for this to activate. - map('', vim.lsp.buf.code_action, '[C]ode [A]ction') + map('ca', vim.lsp.buf.code_action, '[C]ode [A]ction') -- Opens a popup that displays documentation about the word under your cursor -- See `:help K` for why this keymap. @@ -915,5 +915,6 @@ require('lazy').setup({ }, }) +vim.diagnostic.config { virtual_text = false } + -- The line beneath this is called `modeline`. See `:help modeline` --- vim: ts=2 sts=2 sw=2 et