-
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-lspconfig
is just a wrapper for callingnvim-lspconfig
default setup automatically mason-lspconfig docsI tried disable
mason-lspconfig
and 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 library
for example:
Digging around these library directory I found that they don't have
.luarc.json
but they do have a.git
fileAnd for some reason...
lua_ls
default setup doesn't include.git
inroot_dir
even though the docs has it nvim-lspconfig sourceAdding
.git
manually and the error will go …