mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-06-22 20:43:27 +00:00
Merge f527abc19f into 36c88a31f6
This commit is contained in:
commit
030e3369ae
2 changed files with 14 additions and 1 deletions
|
|
@ -80,7 +80,7 @@
|
||||||
# Wrap the user's desired (unwrapped) Neovim package with arguments that'll be used to
|
# Wrap the user's desired (unwrapped) Neovim package with arguments that'll be used to
|
||||||
# generate a wrapped Neovim package.
|
# generate a wrapped Neovim package.
|
||||||
neovim-wrapped = inputs.mnw.lib.wrap {inherit pkgs;} {
|
neovim-wrapped = inputs.mnw.lib.wrap {inherit pkgs;} {
|
||||||
appName = "nvf";
|
appName = config.vim.appname;
|
||||||
neovim = config.vim.package;
|
neovim = config.vim.package;
|
||||||
initLua = config.vim.builtLuaConfigRC;
|
initLua = config.vim.builtLuaConfigRC;
|
||||||
luaFiles = config.vim.extraLuaFiles;
|
luaFiles = config.vim.extraLuaFiles;
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,19 @@
|
||||||
inherit (lib.nvim.types) dagOf;
|
inherit (lib.nvim.types) dagOf;
|
||||||
in {
|
in {
|
||||||
options.vim = {
|
options.vim = {
|
||||||
|
appname = mkOption {
|
||||||
|
type = str;
|
||||||
|
default = "nvf";
|
||||||
|
description = ''
|
||||||
|
Sets the {env}`NVIM_APPNAME` variable.
|
||||||
|
|
||||||
|
In traditional Neovim setups, standard directories can be further configured
|
||||||
|
by the {env}`NVIM_APPNAME` environment variable. This variable controls the
|
||||||
|
sub-directory that Nvim will read from (and auto-create) in each of the base
|
||||||
|
directories. See `:help $NVIM_APPNAME` for more details.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
enableLuaLoader = mkOption {
|
enableLuaLoader = mkOption {
|
||||||
type = bool;
|
type = bool;
|
||||||
default = false;
|
default = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue