Skip to content
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

Crystalline (Crystal LSP) isn't doing anything #4553

Open
BigBoyBarney opened this issue May 3, 2024 · 2 comments
Open

Crystalline (Crystal LSP) isn't doing anything #4553

BigBoyBarney opened this issue May 3, 2024 · 2 comments
Labels
bug Something isn't working LSP LSP Related issues

Comments

@BigBoyBarney
Copy link

Problem description

Hey guys!
I installed Crystalline with :LspInstall crystal, this part works.
:LspInfo
image
:LvimInfo
image
However, nothing really happens. I don't get highlighting or other LSP features like autocomplete etc.
image

Thanks a lot!!

LunarVim version

release-1.3/neovim-0.9-d1c1bace

Neovim version (>= 0.9.1)

NVIM v0.9.5

Operating system/version

Linux / Fedora 39

Affected language servers

Crystalline

Steps to reproduce

Install Crystalline with :LspInstall crystal.
Create a test.cr file.
Write Crystal code.

Actual behavior

Nothing happens

Expected behavior

LSP works as intended, including code highlighting and auto-completion

support info

See screenshots from the OP.

logs

No response

Screenshots

No response

@BigBoyBarney BigBoyBarney added bug Something isn't working LSP LSP Related issues labels May 3, 2024
@juicy-g
Copy link
Contributor

juicy-g commented May 24, 2024

In LunarVim syntax highlighting is handled by nvim-treesitter which does not yet support the crystal filetype. The Crystalline README suggests to use the vim-crystal plugin.

It looks like the server is configured and launched correctly, but autocompletion does not work with nvim-lspconfig. This might be an issue with Crystalline itself: elbywan/crystalline#89

@juicy-g
Copy link
Contributor

juicy-g commented May 24, 2024

Do you have a shard.yml or .git in your project root folder? If not, please try and comment if it changes anything or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working LSP LSP Related issues
Projects
None yet
Development

No branches or pull requests

2 participants