summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammed Chelouti <70812484+motato1@users.noreply.github.com>2021-01-11 21:55:17 +0100
committerMohammed Chelouti <70812484+motato1@users.noreply.github.com>2021-01-22 19:06:53 +0100
commite16c3b09f74dfa6c096fb50c8cd09b1974e75fb0 (patch)
treef4a3ca85d49af4c18db42282f9b9b1b134e145a0
parent9b362634f7210657d94870b017e969bdcdda8de0 (diff)
downloadale-e16c3b09f74dfa6c096fb50c8cd09b1974e75fb0.zip
doc: Add documentation for Deno
-rw-r--r--doc/ale-supported-languages-and-tools.txt1
-rw-r--r--doc/ale-typescript.txt33
-rw-r--r--supported-tools.md1
-rw-r--r--test/command_callback/test_typescript_deno_lsp.vader1
4 files changed, 35 insertions, 1 deletions
diff --git a/doc/ale-supported-languages-and-tools.txt b/doc/ale-supported-languages-and-tools.txt
index a44ad75b..b47e1b2c 100644
--- a/doc/ale-supported-languages-and-tools.txt
+++ b/doc/ale-supported-languages-and-tools.txt
@@ -498,6 +498,7 @@ Notes:
* `thrift`
* TypeScript
* `eslint`
+ * `deno`
* `fecs`
* `prettier`
* `standard`
diff --git a/doc/ale-typescript.txt b/doc/ale-typescript.txt
index 026d17ce..56735b55 100644
--- a/doc/ale-typescript.txt
+++ b/doc/ale-typescript.txt
@@ -11,6 +11,39 @@ options for `eslint` too. See: |ale-javascript-eslint|.
===============================================================================
+deno *ale-typescript-deno*
+
+Starting from version 1.6.0, Deno comes with its own language server. Earlier
+versions are not supported.
+
+g:ale_deno_executable *g:ale_deno_executable*
+ *b:ale_deno_executable*
+ Type: |String|
+ Default: `'deno'`
+
+
+g:ale_deno_lsp_project_root *g:ale_deno_lsp_project_root*
+ *b:ale_deno_lsp_project_root*
+ Type: |String|
+ Default: `''`
+
+ If this variable is left unset, ALE will try to find the project root by
+ executing the following steps in the given order:
+
+ 1. Find an ancestor directory containing a tsconfig.json.
+ 2. Find an ancestory irectory containing a .git folder.
+ 3. Use the directory of the current buffer (if the buffer was opened from
+ a file).
+
+g:ale_deno_unstable *g:ale_deno_unstable*
+ *b:ale_deno_unstable*
+ Type: |Number|
+ Default: `0`
+
+ Enable or disable unstable Deno features and APIs.
+
+
+===============================================================================
prettier *ale-typescript-prettier*
See |ale-javascript-prettier| for information about the available options.
diff --git a/supported-tools.md b/supported-tools.md
index 8ed83d6c..88ad70a4 100644
--- a/supported-tools.md
+++ b/supported-tools.md
@@ -507,6 +507,7 @@ formatting.
* [thrift](http://thrift.apache.org/)
* TypeScript
* [eslint](http://eslint.org/)
+ * [deno](https://deno.land/)
* [fecs](http://fecs.baidu.com/)
* [prettier](https://github.com/prettier/prettier)
* [standard](http://standardjs.com/)
diff --git a/test/command_callback/test_typescript_deno_lsp.vader b/test/command_callback/test_typescript_deno_lsp.vader
index b6e4db0e..01cbc851 100644
--- a/test/command_callback/test_typescript_deno_lsp.vader
+++ b/test/command_callback/test_typescript_deno_lsp.vader
@@ -54,7 +54,6 @@ Execute(Should use user-specified project root):
\ 'unstable': v:false
\}
-
Execute(Check Deno LSP command):
AssertLinter 'deno', [
\ ale#Escape('deno') . ' lsp',