winbar
This commit is contained in:
+9
-2
@@ -5,6 +5,7 @@ autocmd("LspAttach", {
|
||||
local client = vim.lsp.get_client_by_id( args.data.client_id )
|
||||
if client then
|
||||
vim.lsp.document_color.enable(false, args.buf, { "background" })
|
||||
-- require("workspace-diagnostics").populate_workspace_diagnostics(client, 0)
|
||||
end
|
||||
end,
|
||||
})
|
||||
@@ -13,8 +14,14 @@ autocmd("VimLeave", {
|
||||
command = "set guicursor=a:ver25-Cursor"
|
||||
})
|
||||
|
||||
autocmd({ "CursorHold" }, {
|
||||
-- autocmd({ "CursorHold" }, {
|
||||
-- callback = function()
|
||||
-- vim.diagnostic.open_float(nil, { focus = false })
|
||||
-- end
|
||||
-- })
|
||||
|
||||
autocmd({ "InsertLeave" }, {
|
||||
callback = function()
|
||||
vim.diagnostic.open_float(nil, { focus = false })
|
||||
require("lint").try_lint()
|
||||
end
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user