mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 20:40:24 +01:00
fix(home/base/tui/editors/neovim): use append for mason in PATH
This commit is contained in:
@@ -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,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user