wrapper: expose appName in mnw via config.vim.appname

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I993291328809699680c4765ea6313d996a6a6964
This commit is contained in:
raf 2026-06-11 15:54:37 +03:00
commit f527abc19f
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
2 changed files with 14 additions and 1 deletions

View file

@ -4,6 +4,19 @@
inherit (lib.nvim.types) dagOf;
in {
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 {
type = bool;
default = false;