Added Nixvim
This commit is contained in:
24
home/neovim/treesitter.nix
Normal file
24
home/neovim/treesitter.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
|
||||
# Install language parsers declaratively
|
||||
# Syntax Highlighting
|
||||
programs.nixvim.plugins.treesitter = {
|
||||
enable = true;
|
||||
grammarPackages = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [
|
||||
lua
|
||||
nix
|
||||
python
|
||||
javascript
|
||||
rust
|
||||
rasi
|
||||
];
|
||||
|
||||
settings = {
|
||||
highlight = {
|
||||
enable = true;
|
||||
additional_vim_regex_highlighting = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user