From 26495af914c53c11457398a84ec9807dfa3dde9c Mon Sep 17 00:00:00 2001 From: Adrian Bakke Date: Tue, 6 Aug 2024 17:24:44 +0200 Subject: [PATCH] remove inline error --- init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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