Skip to content

LSP setup for nvim-tree development #2901

Answered by remvn
remvn asked this question in Q&A
Sep 9, 2024 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

I believe mason-lspconfig is just a wrapper for calling nvim-lspconfig default setup automatically mason-lspconfig docs

I tried disable mason-lspconfig and use your setup from the wiki but still the same behavior

It's working perfectly within this project scope (jumping around, has intellisense for vim's api)
However this error only show up when I try to jump to some type definitions in luv library
for example:

Digging around these library directory I found that they don't have .luarc.json but they do have a .git file

And for some reason... lua_ls default setup doesn't include .git in root_dir even though the docs has it nvim-lspconfig source

Adding .git manually and the error will go …

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@remvn
Comment options

Answer selected by remvn
@alex-courtis
Comment options

@alex-courtis
Comment options

@remvn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants