graphiql
graphiql copied to clipboard
[lsp-server] 🐞 not working on neovim + coc
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
Auto-completion, "go to definition" and general LSP functionality expectations are not working.
Expected Behavior
The aforementioned expectations should work.
Steps To Reproduce
-
Install the package and add change the coc.nvim settings as suggested: https://github.com/graphql/graphiql/tree/main/packages/graphql-language-service-cli#lsp-workspace-configuration
-
Open a
.gql
or.graphql
file and trigger the Coc auto-completion (usuallyctrl + space
) and nothing will be returned.
IMPORTANT: IntelliJ & https://github.com/neovim/nvim-lspconfig clients work as expected.
Environment
- LSP Server Version:
graphql-language-service-cli 3.4.1
├── graphql-language-service 5.2.1
└─┬ graphql-language-service-server 2.13.1
└── graphql-language-service 5.2.1
-
OS:
MacOS Sonoma 14.5 (23F79)
-
LSP Client:
Nvim
NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1716656478
Coc
commit 51692dc1d148f67f18573d1afeb4724dc5a06506 (HEAD -> release, origin/release)
Author: Heyward Fann <[email protected]>
Date: Thu Jul 4 19:38:38 2024 +0800
Anything else?
No response