mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-01 00:25:55 +00:00
modules: use initViml instead of writing the file
This commit is contained in:
parent
37720ac6eb
commit
8ce1f258df
2 changed files with 5 additions and 5 deletions
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -95,11 +95,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1720472688,
|
||||
"narHash": "sha256-IQqFxe+LwXCjLSosxz3TP9xNRf1VCuWbI4JuBTC6ys4=",
|
||||
"lastModified": 1720539383,
|
||||
"narHash": "sha256-HF4+pQJwgw62lLpWo5TiXFb8ui0FpZcb2TkSh9qXju8=",
|
||||
"owner": "Gerg-L",
|
||||
"repo": "neovim-wrapper",
|
||||
"rev": "25d77eb68da40577727d1f71a569a9ff5c15cc26",
|
||||
"rev": "a2b26accc1c414bc0ef0132ab167e2973dc26e68",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ inputs: {
|
|||
}: let
|
||||
inherit (pkgs) vimPlugins;
|
||||
inherit (pkgs.vimUtils) buildVimPlugin;
|
||||
inherit (lib.strings) makeBinPath isString toString;
|
||||
inherit (lib.strings) isString toString;
|
||||
inherit (lib.lists) filter map concatLists;
|
||||
inherit (lib.attrsets) recursiveUpdate getAttr;
|
||||
inherit (lib.asserts) assertMsg;
|
||||
|
|
@ -92,7 +92,7 @@ inputs: {
|
|||
neovim = vimOptions.package;
|
||||
plugins = concatLists [builtStartPlugins builtOptPlugins];
|
||||
wrapperArgs = ["--set" "NVIM_APPNAME" "nvf"];
|
||||
extraLuaFiles = [(pkgs.writeText "nvf-init.vim" vimOptions.builtConfigRC)];
|
||||
initViml = vimOptions.builtConfigRC;
|
||||
extraBinPath = vimOptions.extraPackages;
|
||||
|
||||
inherit (vimOptions) viAlias vimAlias withRuby withNodeJs withPython3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue