summaryrefslogtreecommitdiff
path: root/ale_linters/javascript
diff options
context:
space:
mode:
authorArnold Chand <creativenull@outlook.com>2021-10-01 20:51:22 -0400
committerGitHub <noreply@github.com>2021-10-02 09:51:22 +0900
commit19b0f72c237b861d46cefbc30a745da401e10c65 (patch)
treed68dc6cf815ebb77b36fa959e2c755acd6bf6b21 /ale_linters/javascript
parent708e810414d124b17b0c42e872b387a7a6c2ea85 (diff)
downloadale-19b0f72c237b861d46cefbc30a745da401e10c65.zip
feat: add deno lsp for javascript (#3924)
* feat(js/deno): add deno lsp * fix(doc/typescript): typo * feat(doc/javascript): add deno lsp information * feat(doc/supported-tools): add deno to js list, sorted * fix(doc/javascript): update ToC and supported tools w/ deno
Diffstat (limited to 'ale_linters/javascript')
-rw-r--r--ale_linters/javascript/deno.vim11
1 files changed, 11 insertions, 0 deletions
diff --git a/ale_linters/javascript/deno.vim b/ale_linters/javascript/deno.vim
new file mode 100644
index 00000000..659eb855
--- /dev/null
+++ b/ale_linters/javascript/deno.vim
@@ -0,0 +1,11 @@
+" Author: Arnold Chand <creativenull@outlook.com>
+" Description: Deno lsp linter for JavaScript files.
+
+call ale#linter#Define('javascript', {
+\ 'name': 'deno',
+\ 'lsp': 'stdio',
+\ 'executable': function('ale#handlers#deno#GetExecutable'),
+\ 'command': '%e lsp',
+\ 'project_root': function('ale#handlers#deno#GetProjectRoot'),
+\ 'initialization_options': function('ale#handlers#deno#GetInitializationOptions'),
+\})