This commit is contained in:
Ray Elliott 2022-01-23 11:19:07 +00:00
parent 9bc32324d3
commit 0c637d665a
1 changed files with 6 additions and 5 deletions

View File

@ -9,11 +9,12 @@ vim.diagnostic.config({
}, },
}) })
vim.cmd [[ -- -- automatically show diagnostics for line
augroup diagnostic_on_hover -- vim.cmd [[
autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false}) -- augroup diagnostic_on_hover
augroup END -- autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false})
]] -- augroup END
-- ]]
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