Neovim plugin fix
This commit is contained in:
parent
4d07c9142a
commit
d0347dfc2a
2 changed files with 41 additions and 34 deletions
|
|
@ -12,13 +12,13 @@ uses [flake-parts](https://flake.parts/)' in-built modules system for less schem
|
|||
|
||||
## 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
|
||||
* `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
|
||||
* `home/` - user environment management via `home-manager` (installed as a NixOS module)
|
||||
* `hosts/` - per-host specific configuration
|
||||
|
|
@ -37,5 +37,5 @@ only KDE Plasma has been set up so far. (TODO: declaratively configure with `pla
|
|||
|
||||
## 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.
|
||||
|
||||
|
|
|
|||
|
|
@ -7,10 +7,6 @@
|
|||
flake.modules.homeManager.primaryUser = {pkgs, ...}: {
|
||||
imports = [inputs.nvf.homeManagerModules.default];
|
||||
|
||||
home.packages = with pkgs.unstable; [
|
||||
tree-sitter
|
||||
];
|
||||
|
||||
programs.nvf = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
|
|
@ -35,6 +31,10 @@
|
|||
};
|
||||
};
|
||||
|
||||
extraPackages = with pkgs.unstable; [
|
||||
tree-sitter
|
||||
];
|
||||
|
||||
visuals = {
|
||||
rainbow-delimiters.enable = true;
|
||||
};
|
||||
|
|
@ -84,25 +84,6 @@
|
|||
style = "dark";
|
||||
};
|
||||
|
||||
globals.terminal_ansi_colors = [
|
||||
"#282828"
|
||||
"#cc241d"
|
||||
"#98971a"
|
||||
"#d79921"
|
||||
"#458588"
|
||||
"#b16286"
|
||||
"#689d6a"
|
||||
"#a89984"
|
||||
"#928374"
|
||||
"#fb4934"
|
||||
"#b8bb26"
|
||||
"#fabd2f"
|
||||
"#83a598"
|
||||
"#d3869b"
|
||||
"#8ec07c"
|
||||
"#ebdbb2"
|
||||
];
|
||||
|
||||
keymaps = [
|
||||
{
|
||||
mode = "i";
|
||||
|
|
@ -195,13 +176,39 @@
|
|||
}
|
||||
];
|
||||
|
||||
luaConfigRC.my_lispwords = ''
|
||||
vim.opt.lispwords:append({
|
||||
"defun", "defmacro", "defvar", "defparameter", "defmethod",
|
||||
"define-syntax", "lambda", "let", "let*", "letrec", "flet",
|
||||
"labels", "progn", "when", "unless", "if", "cond",
|
||||
})
|
||||
'';
|
||||
luaConfigRC = {
|
||||
my_lispwords = ''
|
||||
vim.opt.lispwords:append({
|
||||
"defun", "defmacro", "defvar", "defparameter", "defmethod",
|
||||
"define-syntax", "lambda", "let", "let*", "letrec", "flet",
|
||||
"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',
|
||||
},
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue