2024-09-14 11:05:12 +02:00
|
|
|
{ config, lib, pkgs, inputs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (lib) mkEnableOption mkIf readFile;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
home-manager.users.moritz.programs.nixvim = {
|
|
|
|
plugins.treesitter = {
|
|
|
|
enable = true;
|
|
|
|
folding = true;
|
|
|
|
nixvimInjections = true;
|
|
|
|
settings.indent.enable = true;
|
|
|
|
settings.highlight.enable = true;
|
2024-10-26 17:04:37 +02:00
|
|
|
settings.incremental_selection = {
|
|
|
|
enable = true;
|
|
|
|
keymaps.init_selection = "gn";
|
|
|
|
keymaps.node_decremental = "gp";
|
|
|
|
keymaps.node_incremental = "gn";
|
|
|
|
};
|
2024-09-14 11:05:12 +02:00
|
|
|
};
|
|
|
|
performance.combinePlugins.standalonePlugins = [
|
|
|
|
"nvim-treesitter"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|