refactor: complete overhaul
Complete overhaul of repo structure based on nvix. See https://github.com/niksingh710/nvix Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
ff2c59724a
commit
61feed4086
75 changed files with 2916 additions and 2314 deletions
39
plugins/treesitter.nix
Normal file
39
plugins/treesitter.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
plugins = {
|
||||
mini-ai.enable = true;
|
||||
sleuth.enable = true;
|
||||
|
||||
treesitter = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
highlight = {
|
||||
enable = true;
|
||||
|
||||
disable = [
|
||||
"latex"
|
||||
"markdown"
|
||||
];
|
||||
};
|
||||
|
||||
auto_install = true;
|
||||
indent_enable = true;
|
||||
folding = true;
|
||||
autoLoad = true;
|
||||
incremental_selection.enable = true;
|
||||
nixvimInjections = true;
|
||||
grammarPackages = pkgs.vimPlugins.nvim-treesitter.allGrammars;
|
||||
};
|
||||
};
|
||||
|
||||
treesitter-context = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
max_lines = 4;
|
||||
min_window_height = 40;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue