mirror of
https://github.com/fredrikr79/nixos.git
synced 2026-01-09 16:33:47 +01:00
remove treesitter because semantic tokens
This commit is contained in:
14
home.nix
14
home.nix
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user