add treesitter
This commit is contained in:
parent
f70def6feb
commit
a18ebd0d8b
2 changed files with 17 additions and 1 deletions
|
|
@ -1,9 +1,14 @@
|
||||||
{ config, lib, ...}: {
|
{ config, lib, ...}: {
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
# General Configuration
|
||||||
./settings.nix
|
./settings.nix
|
||||||
./keymaps.nix
|
./keymaps.nix
|
||||||
|
|
||||||
|
# Themes
|
||||||
./plugins/themes/default.nix
|
./plugins/themes/default.nix
|
||||||
|
|
||||||
|
# Syntax Highlighting
|
||||||
|
./plugins/treesitter/default.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
11
config/plugins/treesitter/default.nix
Normal file
11
config/plugins/treesitter/default.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
|
||||||
|
plugins.treesitter = {
|
||||||
|
enable = true;
|
||||||
|
indent = true;
|
||||||
|
folding = false;
|
||||||
|
nixvimInjections = true;
|
||||||
|
grammarPackages = pkgs.vimPlugins.nvim-treesitter.allGrammars;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue