remove treesitter because semantic tokens

This commit is contained in:
2025-09-12 16:44:02 +02:00
parent dfb5603c41
commit fcf9418d5f

View File

@@ -659,13 +659,6 @@ in
treesitter = {
enable = true;
settings = {
highlight.enable = true;
indent.enable = true;
};
grammarPackages = with pkgs.tree-sitter-grammars; [
tree-sitter-uiua
];
};
undotree.enable = true;
@@ -970,6 +963,13 @@ in
},
})
vim.api.nvim_create_autocmd("FileType", {
pattern = "uiua",
callback = function()
vim.bo.commentstring = "# %s"
end,
})
-- LSP Semantic Token highlighting for Uiua with Dracula colors
vim.api.nvim_set_hl(0, "@lsp.type.monadic_function.uiua", { fg = "#50fa7b" }) -- Green
vim.api.nvim_set_hl(0, "@lsp.type.dyadic_function.uiua", { fg = "#8be9fd" }) -- Cyan