From 87aafcd44cfa7ddccd5349d9eb2fb415d2ad6f8b Mon Sep 17 00:00:00 2001 From: Squibid Date: Sun, 22 Oct 2023 18:05:10 -0400 Subject: remove floating diagnostics, and add line diagnostics --- after/plugin/lsp.lua | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'after/plugin/lsp.lua') diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua index 11a77a9..9eab3f1 100644 --- a/after/plugin/lsp.lua +++ b/after/plugin/lsp.lua @@ -21,7 +21,6 @@ local function lsp_keymaps(bufnr) map('n', '', 'lua vim.lsp.buf.code_action()') -- Diagnostics - map('n', '', 'lua vim.diagnostic.open_float()') map('n', '[d', 'lua vim.diagnostic.goto_prev()') map('n', ']d', 'lua vim.diagnostic.goto_next()') end @@ -41,15 +40,6 @@ local function lsp_settings() update_in_insert = false, underline = true, severity_sort = true, - float = { - focusable = false, - show_header = true, - style = 'minimal', - border = 'shadow', - source = 'always', - header = '', - prefix = '* ', - }, }) vim.lsp.handlers['textDocument/hover'] = vim.lsp.with( vim.lsp.handlers.hover, -- cgit v1.2.1