This is a "no plugins" Neovim configuration. You run it by calling:
Get the path where Neovim loads from by calling this:
nvim --clean --headless --cmd 'lua print(vim.fn.stdpath("config"))' --cmd 'quit'Linux: ~/.config/nvim
Copy the init.lua to that directory.
cp ./init.lua `nvim --clean --headless --cmd 'lua print(vim.fn.stdpath("config"))' --cmd 'quit'`If you have an existing Neovim configuration that you don't want to touch, you can "try out" this configuration by doing ...
root=`nvim --clean --headless --cmd 'lua print(vim.fn.stdpath("config"))' --cmd 'quit'`
parent=`dirname $root`
mkdir -p $parent/noplugins
cp ./init.lua $parent/noplugins/init.luaThis will create a separate Neovim app directory, located at
~/config/noplugins (or wherever your $XDG_CONFIG_HOME is set to)
Now run it with
NVIM_APPNAME=noplugins nvimVIM_LOG_LEVEL sets the minimum vim.notify level shown by Neovim. It
defaults to 2, which hides DEBUG notifications unless you opt in with
a lower value.
VIM_ENABLE_NOTIFY_LOGGING enables notification logging when set to a non-zero
value. When enabled, notifications are appended to a temporary log file that
can be opened with :OpenLogPath.
eval $(luarocks path --lua-version 5.1 --bin)
make test
# or
busted .