Nvim : Fix rc.

This commit is contained in:
Dmitry Voronin 2024-03-09 02:11:57 +03:00
parent 1b6de37600
commit a33deebdb9

View file

@ -1,4 +1,4 @@
{ inputs, util, ... }: let { inputs, ... }: let
nvimRc = { cfgPath, runtimes, cfgs }: let nvimRc = { cfgPath, runtimes, cfgs }: let
runtimeRc = builtins.foldl' (acc: r: runtimeRc = builtins.foldl' (acc: r:
acc + "set runtimepath+=${r}\n" acc + "set runtimepath+=${r}\n"
@ -14,7 +14,7 @@ in {
viAlias = true; viAlias = true;
vimAlias = true; vimAlias = true;
configure = { configure = {
customRC = util.nvimRc { customRC = nvimRc {
cfgPath = "/etc/nvim"; cfgPath = "/etc/nvim";
runtimes = [ runtimes = [
"~/.cache/nvim" "~/.cache/nvim"