Language server for the Ameba linter for Crystal lang.
Supports reporting issues while typing, and correcting issues via code actions. Does not require ameba
be installed.
Each release corresponds to Ameba and Crystal lang releases.
ameba-ls |
Ameba | Crystal Lang |
---|---|---|
0.1.0 | 1.6.4 | 1.15.1 |
The latest release can be downloaded from GitHub or built from source.
$ git clone https://github.com/crystal-lang-tools/ameba-ls
$ cd ameba-ls
$ make ameba-ls
$ cp ./bin/ameba-ls ~/.local/bin # or somewhere else in PATH
The latest version of the Zed Crystal extension has support for ameba-ls
if it's installed in PATH
.
Install the Sublime LSP package and configure it to use ameba-ls
:
{
"clients": {
"ameba-ls": {
"command": [
"ameba-ls"
],
"selector": "source.crystal",
"enabled": true,
},
},
}
- Fork it (https://github.com/nobodywasishere/ameba-ls/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Margret Riegert - creator and maintainer