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

Replace cairo-language-server with scarb-cairo-language-server and update installation docs #3315

Merged
merged 2 commits into from
Sep 23, 2024

Conversation

funkycadet
Copy link
Contributor

This PR updates the Cairo Language Server (cairo_ls) configuration in lspconfig to use scarb-cairo-language-server instead of cairo-language-server. This change aligns with the new standard as Scarb is now the default package manager for Cairo, and the Scarb-distributed language server extension ensures compatibility with the version of the Cairo compiler used in Scarb.

  • Replaced cairo-language-server with scarb-cairo-language-server, reflecting Scarb as the default package manager.
  • Scarb's version of the language server is a launcher for the official Cairo Language Server, ensuring version compatibility with the compiler.
  • Updated the documentation link for installing Cairo, following the latest official instructions.

This change simplifies user configuration and ensures they are working with the correct versions of the Cairo compiler and language server.

Comment on lines 3 to 4
local bin_name = 'scarb-cairo-language-server'
local cmd = { bin_name, '/C', '--node-ipc' }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these can be both removed just inline cmd into return cmd field.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright. Will do

@glepnir glepnir merged commit 6150cce into neovim:master Sep 23, 2024
8 checks passed
@glepnir
Copy link
Member

glepnir commented Sep 23, 2024

thanks.

@funkycadet
Copy link
Contributor Author

its all good 🫡

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants