-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to configure Neovim to use asy -lsp? #372
Comments
Apparently, you have to compile asymptote yourself. The full version info of asymptote gives me for
See LSP entry under DISABLED OPTIONS. I am surprised that I can invoke Unfortunately, there are no easy to follow compilation instructions for asymptote on macOS with LSP enabled, e.g. https://formulae.brew.sh/formula/asymptote MacPorts also do not offer a variant with LSP enabled: https://ports.macports.org/port/asymptote/ |
In commit 456ae99, I have now removed the lsp option when LSP support is disabled, so that --lsp returns an error (and -lsp is then parsed as -l -s -p when LSP support is disabled). I don't think anyone has got LSP working yet under MacOS. |
As a first step, to compile with --lsp under MacOS, you first need to fix the names of these boost libraries: ln -s /opt/local/lib/libboost_thread-mt.dylib /opt/local/lib/libboost_thread.dylib and then run configure and make again. |
I have followed
:h lspconfig-new
of https://github.com/neovim/nvim-lspconfig for Neovim.https://github.com/neovim/nvim-lspconfig/blob/8cbfc30c4b238cc2465ff256803f7747376f046a/doc/lspconfig.txt#L324-L350
to have in my
init.lua
using Neovim 0.9:But when I open an asy file, no LSP client gets attached to the buffer
and I see following errors in the
:LspLog
I am not sure who to ask.
My Environment
The text was updated successfully, but these errors were encountered: