This commit is contained in:
Niktia Bykov
2024-01-02 14:39:34 +05:00
parent 9ff851257a
commit b6aae4722c
6 changed files with 11 additions and 27 deletions

View File

@ -1,6 +1,5 @@
local M = {}
-- TODO: backfill this to template
M.setup = function()
local signs = {
{ name = "DiagnosticSignError", text = "" },
@ -24,7 +23,7 @@ M.setup = function()
underline = true,
severity_sort = true,
float = {
focusable = false,
focusable = true,
style = "minimal",
border = "rounded",
source = "always",
@ -34,16 +33,6 @@ M.setup = function()
}
vim.diagnostic.config(config)
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
border = "rounded",
width = 60,
})
vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, {
border = "rounded",
width = 60,
})
end
-- local function lsp_highlight_document(client)