1*mise.nvim.txt* For Neovim >= 0.9.0
2
3==============================================================================
4Table of Contents *mise.nvim-table-of-contents*
5
61. mise.nvim |mise.nvim-mise.nvim|
7 - Setup |mise.nvim-mise.nvim-setup|
8 - Configuration |mise.nvim-mise.nvim-configuration|
9 - Commands |mise.nvim-mise.nvim-commands|
10 - Limitations |mise.nvim-mise.nvim-limitations|
11
12==============================================================================
131. mise.nvim *mise.nvim-mise.nvim*
14
15mise.nvim is a 3rd party Neovim plugin that compliments mise
16<https://mise.jdx.dev/> by setting the environment variables when `:cd`-ing
17inside Neovim or using a GUI like Neovide <https://neovide.dev/>. If you run
18Neovim from a terminal and don’t regularly use `:cd`, you probably don’t
19need this plugin.
20
21
22SETUP *mise.nvim-mise.nvim-setup*
23
24lazy.nvim
25
26>lua
27 {
28 "ejrichards/mise.nvim",
29 opts = {}
30 }
31<
32
33
34CONFIGURATION *mise.nvim-mise.nvim-configuration*
35
36Defaults
37
38>lua
39 {
40 -- Executable to run
41 run = 'mise',
42 -- Args for the executable, set to "env --json --quiet" to ignore mise warnings
43 args = 'env --json',
44 -- Set to override the base PATH
45 initial_path = vim.env.PATH,
46 -- Removes env vars set by mise when navigating away from a directory
47 unset_vars = true,
48 -- Loads env vars when setup() is called, don't need this if mise is hooked into your shell
49 load_on_setup = true,
50 -- Force a run when using an unsupported executable
51 force_run = false,
52 }
53<
54
55
56COMMANDS *mise.nvim-mise.nvim-commands*
57
58- `:Mise` - Print vars for pwd
59
60
61LIMITATIONS *mise.nvim-mise.nvim-limitations*
62
63The base path will be the `$PATH` env var on load. If Neovim launched from the
64shell where mise has already loaded some paths, this plugin cannot distinguish
65which parts of the path were loaded by mise, so they will always be included.
66This can be overridden using the `initial_path` in the setup config if you run
67into issues.
68
69TODO: Test whether mise will deal with this case correctly
70
71Generated by panvimdoc <https://github.com/kdheepak/panvimdoc>
72
73vim:tw=78:ts=8:noet:ft=help:norl: