update
This commit is contained in:
parent
9bc32324d3
commit
0c637d665a
11
lua/init.lua
11
lua/init.lua
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue