summaryrefslogtreecommitdiffstats
path: root/nvim/.gitignore
diff options
context:
space:
mode:
authorTomas Gareau <tggareau@gmail.com>2025-01-07 09:44:29 -0600
committerGitHub <noreply@github.com>2025-01-07 10:44:29 -0500
commitc5dd121029fe0cddc71c9a40dc57a34b67441b0c (patch)
treebbf8d10465530c567deee3d4b237cb3d9c5ba1dd /nvim/.gitignore
parent07daf521f90397560fa587a0fd6b77dce207b2b7 (diff)
downloaddots-c5dd121029fe0cddc71c9a40dc57a34b67441b0c.tar.gz
fix: prevent mason setup from being run twice (#1298)
* fix: prevent mason setup from being run twice Addresses https://github.com/nvim-lua/kickstart.nvim/issues/1297 Currently, we're calling `require('mason').setup(...)` twice: * once when setting it as a dependency of `nvim-lspconfig` (since we set `config = true`) * once in the `config` function we define for `nvim-lspconfig` Calling setup twice can cause issues with, e.g., setting the `PATH` option: you might append Mason's bin dir in one setup call and prepend it in the other. We've kept the setup of `mason` in the `nvim-lspconfig` dependencies table since leaving it to the `config` function caused some plugin-loading-order related issues in the past. See: * https://github.com/nvim-lua/kickstart.nvim/pull/210 * https://github.com/nvim-lua/kickstart.nvim/issues/554 * https://github.com/nvim-lua/kickstart.nvim/pull/555 * https://github.com/nvim-lua/kickstart.nvim/pull/865 * docs: tweak comments per review feedback
Diffstat (limited to 'nvim/.gitignore')
0 files changed, 0 insertions, 0 deletions