*mise.nvim.txt* For Neovim >= 0.9.0
==============================================================================
Table of Contents *mise.nvim-table-of-contents*
1. mise.nvim |mise.nvim-mise.nvim|
- Setup |mise.nvim-mise.nvim-setup|
- Configuration |mise.nvim-mise.nvim-configuration|
- Commands |mise.nvim-mise.nvim-commands|
- Limitations |mise.nvim-mise.nvim-limitations|
==============================================================================
1. mise.nvim *mise.nvim-mise.nvim*
mise.nvim is a 3rd party Neovim plugin that compliments mise
by setting the environment variables when `:cd`-ing
inside Neovim or using a GUI like Neovide . If you run
Neovim from a terminal and don’t regularly use `:cd`, you probably don’t
need this plugin.
SETUP *mise.nvim-mise.nvim-setup*
lazy.nvim
>lua
{
"ejrichards/mise.nvim",
opts = {}
}
<
CONFIGURATION *mise.nvim-mise.nvim-configuration*
Defaults
>lua
{
-- Executable to run
run = 'mise',
-- Args for the executable, set to "env --json --quiet" to ignore mise warnings
args = 'env --json',
-- Set to override the base PATH
initial_path = vim.env.PATH,
-- Removes env vars set by mise when navigating away from a directory
unset_vars = true,
-- Loads env vars when setup() is called, don't need this if mise is hooked into your shell
load_on_setup = true,
-- Force a run when using an unsupported executable
force_run = false,
}
<
COMMANDS *mise.nvim-mise.nvim-commands*
- `:Mise` - Print vars for pwd
LIMITATIONS *mise.nvim-mise.nvim-limitations*
The base path will be the `$PATH` env var on load. If Neovim launched from the
shell where mise has already loaded some paths, this plugin cannot distinguish
which parts of the path were loaded by mise, so they will always be included.
This can be overridden using the `initial_path` in the setup config if you run
into issues.
TODO: Test whether mise will deal with this case correctly
Generated by panvimdoc
vim:tw=78:ts=8:noet:ft=help:norl: