-
Notifications
You must be signed in to change notification settings - Fork 7
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
Neovim setup not working #57
Comments
Hi @Josh-Piper, thanks for your report. The neovim documentation is a pretty recent addition to Contextive thanks to contributions from @erikjuhani - you can see a screenshot of it working in their pull request: #49 so in theory it should work for you. Unfortunately I don't have a replication environment setup myself just yet. One thing to check - I'm not sure the hover appears by default as you're typing - according to https://neovim.io/doc/user/lsp.html#lsp-config a number of keymaps are setup by default (unless you have overwritten them) and by default K is bound to the hover function. Could you give that a try? I suspect you have to not be in insert mode... If that doesn't work, I note from the screenshot above it says that the languageclient log is in If still no luck, I wonder if @erikjuhani, would be so kind as to take a look at the above and see if anything jumps out? Thanks! |
Thanks @Josh-Piper, glad you got it sorted! In other vim world updates, @erikjuhani has prepped a contribution to nvm-lspconfig - neovim/nvim-lspconfig@master...erikjuhani:nvim-lspconfig:feat/contextive-language-server - I think he's waiting on my review before merging it, and I'm waiting until I've resolved an issue with contextive's config approach in case it affects the configuration (see #55 and possibly #54). While the neovim config works fine with the default Thanks also for the LazyVim contribution - I'll update the main readme docs to include it shortly 🙂 |
Hey! I’m glad you got it sorted out! I’ve been working on to add the neovim configuration to nvim lsp-config like @chrissimon-au mentioned! I’ve been extremely busy with work recently so my work in this regard has slowed down to a halt. I was planning on revisiting the work this weekend. After the changes you would not have to install the LSP manually, but use mason to provide it for you! Mason is already included with LazyVim. |
Hey!
found this plugin from Bran van der Meer latest video on ubiquitous languages.
I was able to get the plugin working using Visual Studio Code pretty much immediately.
However, I could not get the neovim set up working.
Describe the bug
When typing a word such as "definition/alias" I expect an autocomplete to popup with the definition, instead I am getting nothing.
To Reproduce
I have installed the LSP server using the osx arm build for an M1 Mac. It is located in
/usr/local/bin
and can be executed (had to accept the run anyway in the Apple security settings).I am able to run the following lua commands listed in the README.md file without any errors using
:lua [command]
.I tried this since my configuration in
lsp.lua
within my Neovim nvim repository wasn't loading it either. Note I am using LazyVimplugins/lsp.lua
Expected behavior
I believe I should see the definition popup when adding the word inside the IDE
I would also assume I would be able to see Contextive being attached to the buffer when using
:LspInfo
Desktop (please complete the following information):
Additional context
Would be easier if this could be installed directly using
lspzero
The text was updated successfully, but these errors were encountered: