Options
programs.mnw.aliases
Aliases to symlink nvim to.
programs.mnw.appName
What to set $NVIM_APPNAME to
programs.mnw.desktopEntry
Whether to enable neovim's desktop entry.
programs.mnw.devExcludedPlugins
The same as 'plugins' except for when running in dev mode add the absolute paths to 'devPluginPaths'
list of (literal path or (attribute set of anything))
[ ]
[ ./gerg ]
programs.mnw.devPluginPaths
The impure absolute paths to nvim plugins the relative paths of which should be in devExcludedPlugins
list of string
""
[
"~/Projects/nvim-flake/gerg"
]
programs.mnw.enable
Whether to enable mnw (Minimal Neovim Wrapper).
programs.mnw.extraBinPath
Extra packages to be put in neovim's PATH
list of package
[ ]
''
[
pkgs.rg
pkgs.fzf
]
''
programs.mnw.extraLuaPackages
A function which returns a list of extra needed lua packages
function that evaluates to a(n) list of package
ps: [ ps.jsregexp ]
programs.mnw.finalPackage
The final package to be consumed by the user
programs.mnw.initLua
lua config text to load at startup
strings concatenated with "\n"
""
''
require("myConfig")
''
programs.mnw.initViml
VimL config text to load at startup
strings concatenated with "\n"
""
''
echomsg 'hello world'
''
programs.mnw.luaFiles
lua config files to load at startup
list of path in the Nix store
[ ]
[
(pkgs.writeText "init.lua" ''
print('hello world')
'')
]
programs.mnw.neovim
The neovim package to use. Must be unwrapped
package
inputs.neovim-nightly-overlay.packages.${pkgs.stdenv.system}.default
programs.mnw.plugins
A list of plugins to load
list of (literal path or (attribute set of anything))
[ ]
''
# you can pass vimPlugins from nixpkgs
pkgs.vimPlugins.fzf-lua
# You can pass a directory
# this is recommend for using your own
# ftplugins and treesitter queries
./myNeovimConfig
{
pname = "customPlugin";
version = "1";
src = pkgs.fetchFromGitHub {
owner = "";
repo = "";
ref = "";
hash = "";
};
# Whether to place plugin in /start or /opt
optional = false;
# Plugins can have other plugins as dependencies
# this is mainly used in nixpkgs
# avoid it if possible
dependencies = [];
}
''
programs.mnw.providers.nodeJs.enable
Whether to enable and configure the Node.js provider.
programs.mnw.providers.nodeJs.neovimClientPackage
The neovim-node-client package to use.
programs.mnw.providers.nodeJs.package
The Node.js package to use.
programs.mnw.providers.perl.enable
Whether to enable and configure the perl provider.
programs.mnw.providers.perl.extraPackages
Extra packages to be included in the perl environment.
Note: you probably want to include NeovimExt and Appcpanminus if you change this from it's default value.
function that evaluates to a(n) list of package
p: [
p.NeovimExt
p.Appcpanminus
]
programs.mnw.providers.perl.package
The perl package to use.
programs.mnw.providers.python3.enable
Whether to enable and configure the python3 provider.
programs.mnw.providers.python3.extraPackages
Extra packages to be included in the python3 environment.
Note: you probably want to include pynvim if you change this from it's default value.
function that evaluates to a(n) list of package
py: [
py.pynvim
py.pybtex
]
programs.mnw.providers.python3.package
The python3 package to use.
programs.mnw.providers.ruby.enable
Whether to enable and configure the ruby provider.
programs.mnw.providers.ruby.env
package
pkgs.bundlerEnv {
name = "neovim-ruby-env";
gemdir = ../ruby_provider;
};
programs.mnw.providers.ruby.package
The ruby package to use.
programs.mnw.vimlFiles
VimL config files to load at startup
list of path in the Nix store
[ ]
[
(pkgs.writeText "init.vim" ''
echomsg 'hello world'
'')
]
programs.mnw.wrapperArgs
A list of arguments to be passed to makeWrapper
list of string
[ ]
[
"--set-default"
"FZF_DEFAULT_OPTS"
"--layout=reverse --inline-info"
];