Skip to content
This repository was archived by the owner on Jan 8, 2026. It is now read-only.
This repository was archived by the owner on Jan 8, 2026. It is now read-only.

mise.nvim races against mason #3

@yacoob

Description

@yacoob

mise.nvim records vim.env.PATH upon starts (or gets one provided via its config). Mason also modifies vim.env.PATH. I've experienced a situation where mise.nvim would sometimes manage to capture the initial state of PATH with Mason's bin added, and sometimes without it. Then it'd apply its modification upon :cd, effectively disabling Mason binaries in the latter case.

I've solved it by adding a dependency to mise.nvim's spec:

return {
  "ejrichards/mise.nvim",
  dependencies = { "williamboman/mason.nvim" },
  opts = {},
}

Unsure if there's anything mise.nvim can be doing to handle this better - but it's definitely worth mentioning in the documentation I think.

HTH!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions