-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
That's normal. lua-language-server will not start with your home directory as root. It's not clear from the documentation link, however I think that's reasonable as it would scan every lua file under your home. Why does this happen? It could be scanning up the directory tree for I'm not familiar with |
Beta Was this translation helpful? Give feedback.
-
|
Native, neovim/nvim-lspconfig and hrsh7th/nvim-cmp configurations and samples added to wiki: I'd be most grateful if you tested those, as well as adding a |
Beta Was this translation helpful? Give feedback.





I believe
mason-lspconfigis just a wrapper for callingnvim-lspconfigdefault setup automatically mason-lspconfig docsI tried disable
mason-lspconfigand use your setup from the wiki but still the same behaviorIt'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 libraryfor example:
Digging around these library directory I found that they don't have
.luarc.jsonbut they do have a.gitfileAnd for some reason...
lua_lsdefault setup doesn't include.gitinroot_direven though the docs has it nvim-lspconfig sourceAdding
.gitmanually and the error will go …