diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | ale_linters/cypher/cypher_lint.vim | 2 | ||||
-rw-r--r-- | doc/ale.txt | 2 | ||||
-rw-r--r-- | test/command_callback/test_cypher_cypher_lint_command_callback.vader | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -118,6 +118,7 @@ formatting. | Crystal | [ameba](https://github.com/veelenga/ameba) !!, [crystal](https://crystal-lang.org/) !! | | CSS | [csslint](http://csslint.net/), [prettier](https://github.com/prettier/prettier), [stylelint](https://github.com/stylelint/stylelint) | | Cucumber | [cucumber](https://cucumber.io/) | +| Cypher | [cypher-lint](https://github.com/cleishm/libcypher-parser) | | Cython (pyrex filetype) | [cython](http://cython.org/) | | D | [dls](https://github.com/d-language-server/dls), [dmd](https://dlang.org/dmd-linux.html), [uncrustify](https://github.com/uncrustify/uncrustify) | | Dafny | [dafny](https://rise4fun.com/Dafny) !! | @@ -211,7 +212,6 @@ formatting. | XML | [xmllint](http://xmlsoft.org/xmllint.html) | | YAML | [prettier](https://github.com/prettier/prettier), [swaglint](https://github.com/byCedric/swaglint), [yamllint](https://yamllint.readthedocs.io/) | | YANG | [yang-lsp](https://github.com/theia-ide/yang-lsp) | -| Cypher | [cypher-lint](https://github.com/cleishm/libcypher-parser) !! | <a name="usage"></a> diff --git a/ale_linters/cypher/cypher_lint.vim b/ale_linters/cypher/cypher_lint.vim index c72abf45..408ddd6e 100644 --- a/ale_linters/cypher/cypher_lint.vim +++ b/ale_linters/cypher/cypher_lint.vim @@ -20,7 +20,7 @@ endfunction call ale#linter#Define('cypher', { \ 'name': 'cypher_lint', \ 'executable': 'cypher-lint', -\ 'command': 'cypher-lint %s', +\ 'command': 'cypher-lint', \ 'output_stream': 'stderr', \ 'callback': 'ale_linters#cypher#cypher_lint#Handle', \}) diff --git a/doc/ale.txt b/doc/ale.txt index 6d3d377f..5493f31e 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -439,6 +439,7 @@ Notes: * Crystal: `ameba`!!, `crystal`!! * CSS: `csslint`, `prettier`, `stylelint` * Cucumber: `cucumber` +* Cypher: `cypher-lint` * Cython (pyrex filetype): `cython` * D: `dls`, `dmd`, `uncrustify` * Dafny: `dafny`!! @@ -532,7 +533,6 @@ Notes: * XML: `xmllint` * YAML: `prettier`, `swaglint`, `yamllint` * YANG: `yang-lsp` -* Cypher: `cypher-lint`!! =============================================================================== 3. Linting *ale-lint* diff --git a/test/command_callback/test_cypher_cypher_lint_command_callback.vader b/test/command_callback/test_cypher_cypher_lint_command_callback.vader index 461ef295..6b64dc1f 100644 --- a/test/command_callback/test_cypher_cypher_lint_command_callback.vader +++ b/test/command_callback/test_cypher_cypher_lint_command_callback.vader @@ -5,4 +5,4 @@ After: call ale#assert#TearDownLinterTest() Execute(The default command and executable should be correct): - AssertLinter 'cypher-lint', 'cypher-lint %s' + AssertLinter 'cypher-lint', 'cypher-lint' |