You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The configuration in the readme for the native nvim LSP client doesn't seem to be correct. It should be lspconfig, not nvim_lsp (this requires the lspconfig plugin to be installed, but this is the normal requirement). I also feel like the current directory is a better fall back when a proper root can't be found as opposed to using the home dir. Using home dir leads to exceedingly long load times.
I personally use .hdl_checker.config as root, and if it can't find, it uses current dir. This is simply because at work I deal with projects that are comprised of multiple repos, but need to see files across repos, so I have the .hdl_checker.config in the parent dir to the repos.
Issue details
The configuration in the readme for the native
nvim
LSP client doesn't seem to be correct. It should belspconfig
, notnvim_lsp
(this requires thelspconfig
plugin to be installed, but this is the normal requirement). I also feel like the current directory is a better fall back when a proper root can't be found as opposed to using the home dir. Using home dir leads to exceedingly long load times.I personally use
.hdl_checker.config
as root, and if it can't find, it uses current dir. This is simply because at work I deal with projects that are comprised of multiple repos, but need to see files across repos, so I have the.hdl_checker.config
in the parent dir to the repos.I recommend something like this
This is my config, from my
init.lua
in my dotfiles(none of the system stuff is really necessary, except for maybe my
nvim
version)nvim -v
I can eventually make a pull request with this fix. But it might be a bit, since I am busy with work/moving soon.
The text was updated successfully, but these errors were encountered: