Watch
1
0
Fork
You've already forked chitin
0

Neovim plugin fix

This commit is contained in:
asnev 2026-10-30 11:26:35 +07:00
commit d0347dfc2a
Signed by: asnev
SSH key fingerprint: SHA256:8hagYq9hDUuS5clQ78FKhIoQDvg5crdkYMHX+3g7wB4
2 changed files with 41 additions and 34 deletions

View file

@ -12,13 +12,13 @@ uses [flake-parts](https://flake.parts/)' in-built modules system for less schem
## graphics ## graphics
only KDE Plasma has been set up so far. (TODO: declaratively configure with `plasma-manager`) only KDE Plasma has been set up so far. (TODO: declaratively configure with [plasma-manager](https://github.com/nix-community/plasma-manager))
## directory structure ## tree
* `assets/` - media and binary assets * `assets/` - media and binary assets
* `modules/` - flake modules (auto-imported with [import-tree](https://github.com/denful/import-tree) * `modules/` - flake modules (auto-imported with [import-tree](https://github.com/denful/import-tree))
* `nixos/` - NixOS configurations that apply to all hosts and users * `nixos/` - NixOS configurations that apply to all hosts and users
* `home/` - user environment management via `home-manager` (installed as a NixOS module) * `home/` - user environment management via `home-manager` (installed as a NixOS module)
* `hosts/` - per-host specific configuration * `hosts/` - per-host specific configuration
@ -37,5 +37,5 @@ only KDE Plasma has been set up so far. (TODO: declaratively configure with `pla
## licences ## licences
[MIT](LICENSE) for the code, [Unsplash License](https://unsplash.com/license) for the banner image, from [iamateapot](https://unsplash.com/photos/a-mushroom-growing-in-a-forest-CRHNiHXXFIs) with edits. [MIT](LICENSE) for the code, [Unsplash License](https://unsplash.com/license) for the banner image, from [iamateapot](https://unsplash.com/photos/a-mushroom-growing-in-a-forest-CRHNiHXXFIs) with edits from me.

View file

@ -7,10 +7,6 @@
flake.modules.homeManager.primaryUser = {pkgs, ...}: { flake.modules.homeManager.primaryUser = {pkgs, ...}: {
imports = [inputs.nvf.homeManagerModules.default]; imports = [inputs.nvf.homeManagerModules.default];
home.packages = with pkgs.unstable; [
tree-sitter
];
programs.nvf = { programs.nvf = {
enable = true; enable = true;
defaultEditor = true; defaultEditor = true;
@ -35,6 +31,10 @@
}; };
}; };
extraPackages = with pkgs.unstable; [
tree-sitter
];
visuals = { visuals = {
rainbow-delimiters.enable = true; rainbow-delimiters.enable = true;
}; };
@ -84,25 +84,6 @@
style = "dark"; style = "dark";
}; };
globals.terminal_ansi_colors = [
"#282828"
"#cc241d"
"#98971a"
"#d79921"
"#458588"
"#b16286"
"#689d6a"
"#a89984"
"#928374"
"#fb4934"
"#b8bb26"
"#fabd2f"
"#83a598"
"#d3869b"
"#8ec07c"
"#ebdbb2"
];
keymaps = [ keymaps = [
{ {
mode = "i"; mode = "i";
@ -195,13 +176,39 @@
} }
]; ];
luaConfigRC.my_lispwords = '' luaConfigRC = {
my_lispwords = ''
vim.opt.lispwords:append({ vim.opt.lispwords:append({
"defun", "defmacro", "defvar", "defparameter", "defmethod", "defun", "defmacro", "defvar", "defparameter", "defmethod",
"define-syntax", "lambda", "let", "let*", "letrec", "flet", "define-syntax", "lambda", "let", "let*", "letrec", "flet",
"labels", "progn", "when", "unless", "if", "cond", "labels", "progn", "when", "unless", "if", "cond",
}) })
''; '';
rainbow-delimiters = ''
vim.g.rainbow_delimiters = {
strategy = {
[''''] = 'rainbow-delimiters.strategy.global',
scheme = 'rainbow-delimiters.strategy.local',
clojure = 'rainbow-delimiters.strategy.local',
},
query = {
[''''] = 'rainbow-delimiters',
},
highlight = {
'RainbowDelimiterRed',
'RainbowDelimiterYellow',
'RainbowDelimiterBlue',
'RainbowDelimiterOrange',
'RainbowDelimiterGreen',
'RainbowDelimiterViolet',
'RainbowDelimiterCyan',
},
}
'';
};
}; };
}; };
}; };