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 [[
augroup diagnostic_on_hover
autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false})
augroup END
]]
-- -- automatically show diagnostics for line
-- vim.cmd [[
-- augroup diagnostic_on_hover
-- autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false})
-- augroup END
-- ]]
local signs = { Error = "", Warn = "", Hint = "", Info = "" }
for type, icon in pairs(signs) do