refactor
This commit is contained in:
22
modules/neovim/plugins/treesitter.nix
Normal file
22
modules/neovim/plugins/treesitter.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{pkgs, ...}: {
|
||||
programs.nixvim.plugins.treesitter = {
|
||||
enable = true;
|
||||
settings = {
|
||||
highlight.enable = true;
|
||||
indent.enable = true;
|
||||
};
|
||||
grammarPackages = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [
|
||||
bash
|
||||
elixir
|
||||
fish
|
||||
heex
|
||||
json
|
||||
markdown
|
||||
nix
|
||||
toml
|
||||
tsx
|
||||
typescript
|
||||
yaml
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user