Skip to content
Snippets Groups Projects
Commit 7d4bae2a authored by iliya's avatar iliya
Browse files

tried to configure hover window

parent 954717a1
No related branches found
No related tags found
No related merge requests found
-- [[ Configure LSP ]] -- [[ Configure LSP ]]
-- This function gets run when an LSP connects to a particular buffer. -- This function gets run when an LSP connects to a particular buffer.
local on_attach = function(_, bufnr) local on_attach = function(_, bufnr)
-- vim.diagnostic.config {
-- signs = true,
-- underline = true,
-- virtual_text = false,
-- virtual_lines = false,
-- update_in_insert = true,
-- float = {
-- -- UI.
-- header = false,
-- border = 'rounded',
-- focusable = true,
-- },
-- }
local signs = { Error = "", Warn = "", Hint = "", Info = "" } local signs = { Error = "", Warn = "", Hint = "", Info = "" }
for type, icon in pairs(signs) do for type, icon in pairs(signs) do
local hl = "DiagnosticSign" .. type local hl = "DiagnosticSign" .. type
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment