This repository was archived by the owner on Nov 12, 2022. It is now read-only.
Can't cmd lua-language-server #440
Answered
by
williamboman
fengtianru117
asked this question in
Q&A
-
I'm sure the How can i solve this? |
Beta Was this translation helpful? Give feedback.
Answered by
williamboman
Jan 23, 2022
Replies: 1 comment
-
Hello! Please refer to the Setup section in the README: https://github.com/williamboman/nvim-lsp-installer#setup for the recommended setup. By providing the path manually like you do, it'll be prone for breakage. As for why your snippet fails is because the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
williamboman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! Please refer to the Setup section in the README: https://github.com/williamboman/nvim-lsp-installer#setup for the recommended setup. By providing the path manually like you do, it'll be prone for breakage.
As for why your snippet fails is because the
~
is not a real path, but has to be expanded. The shell does this automatically for example. Try wrapping that string withvim.fn.expand()
.