Complete overhaul of repo structure based on nvix. See https://github.com/niksingh710/nvix Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
39 lines
703 B
Nix
39 lines
703 B
Nix
{ 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;
|
|
};
|
|
};
|
|
};
|
|
}
|