fix treesitter config

This commit is contained in:
Zacharias-Brohn
2025-12-23 14:14:22 +01:00
parent 4e79b98122
commit 206336a9a3
5 changed files with 26 additions and 24 deletions
+8 -8
View File
@@ -1,13 +1,13 @@
local autocmd = vim.api.nvim_create_autocmd
autocmd("LspAttach", {
callback = function(args)
local client = vim.lsp.get_client_by_id(args.data.client_id)
if client then
vim.lsp.document_color.enable(false, args.buf, { "background" })
end
end,
})
-- autocmd("LspAttach", {
-- callback = function(args)
-- local client = vim.lsp.get_client_by_id(args.data.client_id)
-- if client then
-- vim.lsp.document_color.enable(false, args.buf, { "background" })
-- end
-- end,
-- })
autocmd("VimLeave", {
command = "set guicursor=a:ver25-Cursor",