https://github.com/syrupthinker/crylsp
A rudimentary attempt at creating a language server for Crystal.
https://github.com/syrupthinker/crylsp
crystal lsp lsp-server
Last synced: 5 months ago
JSON representation
A rudimentary attempt at creating a language server for Crystal.
- Host: GitHub
- URL: https://github.com/syrupthinker/crylsp
- Owner: SyrupThinker
- License: eupl-1.2
- Created: 2025-01-03T20:08:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-03T20:17:00.000Z (about 1 year ago)
- Last Synced: 2025-02-23T09:13:41.227Z (about 1 year ago)
- Topics: crystal, lsp, lsp-server
- Language: Crystal
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# crylsp
A rudimentary attempt at creating a [language server](https://microsoft.github.io/language-server-protocol/) for [Crystal](https://crystal-lang.org).
Currently only provides formatting and linting, the latter using [Ameba](https://github.com/crystal-ameba/).
## Usage
Build this shard with `shards build -Dpreview_mt`, then configure your editor to use the `bin/crylsp` server executable.
In Visual Studio Code with the [Crystal Language](https://marketplace.visualstudio.com/items?itemName=crystal-lang-tools.crystal-lang) extension, you can use the following setting to set the server path: [vscode://settings/crystal-lang.server](vscode://settings/crystal-lang.server)
## Copyright
Copyright Valentin Anger, 2024. Licensed under the EUPL-1.2.