Replies: 3 comments 5 replies
-
|
Hello! Modifying any of the files or directories that Mason creates is not recommended. If you want to install a version that cannot be installed via Mason, simply install it elsewhere on your system. Some common locations to put system-local installations are: /opt |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for your response. Is there a way to configure mason.nvim to use a specific version of |
Beta Was this translation helpful? Give feedback.
-
|
Hm. If I uninstall Mason's zls plugin, LazyVim does not seem to call zls until I save the buffer. With the plugin active, I see code analysis while I am typing. You can probably tell that I am very new to LazyVim and its plugins, and I might therefore still have a general lack of understanding regarding the mechanics involved, so I ask for you patience. The following seems to work for me: -- /.local/share/nvim/lazy/LazyVim/lua/lazyvim/plugins/lsp/init.lua
"williamboman/mason.nvim",
cmd = "Mason",
keys = { { "<leader>cm", "<cmd>Mason<cr>", desc = "Mason" } },
opts = {
-- Added by RS
PATH = "append",
-- [other options here ...]
},I added |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The
zlsbinary currently bundled in mason/packages/zls is outdated (version 0.10.0-dev.364+7ef2244 at the time of opening this issue). I built a frshzlsbinary from its source code, and I wonder what the correct mechanism to override the outdated binary is? Creating a softlink to~/bin/zlsdoes not seem ideal. I use LazyVim and the following LUA initialisation code:Do you have any recommendations? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions