Skip to content

crystal-lang-tools/ameba-ls

Repository files navigation

ameba-ls

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.

Installation

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.

Build 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

Usage

Zed

The latest version of the Zed Crystal extension has support for ameba-ls if it's installed in PATH.

Sublime

Install the Sublime LSP package and configure it to use ameba-ls:

{
	"clients": {
		"ameba-ls": {
			"command": [
				"ameba-ls"
			],
			"selector": "source.crystal",
			"enabled": true,
		},
	},
}

Contributing

  1. Fork it (https://github.com/nobodywasishere/ameba-ls/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

language server for the ameba linter for crystal lang

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published