diff options
author | D. Ben Knoble <ben.knoble+github@gmail.com> | 2021-07-19 21:02:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 10:02:23 +0900 |
commit | 651038b6017c2d2bd7027076ff2838e7cc4a078e (patch) | |
tree | 42188a252e3d4dcb348f0f3cd9588006ebe10200 /ale_linters/racket | |
parent | a6719c2d4fa0d4f5f2cdbaf8ece8de6c4faf1295 (diff) | |
download | ale-651038b6017c2d2bd7027076ff2838e7cc4a078e.zip |
racket: support racket-langserver lsp (#3808)
* racket: support racket-langserver lsp
* racket-langserver: find highest dir with init.rkt
* autoload/ale/racket: re-indent to 4 spaces
* racket: lint: sort supported tools
* racket: lint: function!
This is _not_ needed anymore, but the lint wants it. See :help E127
* racket-langserver: do not use new dict format
* racket: lint: use snake_case
* add tests for racket-langserver
* racket-langserver tests: correct result values
Diffstat (limited to 'ale_linters/racket')
-rw-r--r-- | ale_linters/racket/langserver.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ale_linters/racket/langserver.vim b/ale_linters/racket/langserver.vim new file mode 100644 index 00000000..ec80ed7b --- /dev/null +++ b/ale_linters/racket/langserver.vim @@ -0,0 +1,7 @@ +call ale#linter#Define('racket', { +\ 'name': 'racket_langserver', +\ 'lsp': 'stdio', +\ 'executable': 'racket', +\ 'command': '%e -l racket-langserver', +\ 'project_root': function('ale#racket#FindProjectRoot'), +\}) |