fix(home/base/tui/editors/neovim): use append for mason in PATH

This commit is contained in:
Ryan Yin
2024-08-28 17:00:12 +08:00
parent 8ff5b91a0a
commit a422cfadc0

View File

@@ -63,4 +63,19 @@ return {
-- })
-- end,
},
{
"williamboman/mason.nvim",
opts = function(_, opts)
-- The directory in which to install packages.
opts.install_root_dir = path.concat { vim.fn.stdpath "data", "mason" }
-- Where Mason should put its bin location in your PATH. Can be one of:
-- - "prepend" (default, Mason's bin location is put first in PATH)
-- - "append" (Mason's bin location is put at the end of PATH)
-- - "skip" (doesn't modify PATH)
---@type '"prepend"' | '"append"' | '"skip"'
opts.PATH = "append" -- use mason's package only when no other package is found
end,
},
}