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 [[
|
-- -- 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
|
||||||
|
|
Loading…
Reference in New Issue