summaryrefslogtreecommitdiff
path: root/doc/ale-typescript.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ale-typescript.txt')
-rw-r--r--doc/ale-typescript.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/ale-typescript.txt b/doc/ale-typescript.txt
index ca156320..a1f5aafc 100644
--- a/doc/ale-typescript.txt
+++ b/doc/ale-typescript.txt
@@ -38,4 +38,39 @@ g:ale_typescript_tslint_use_global *g:ale_typescript_tslint_use_global*
-------------------------------------------------------------------------------
+tsserver *ale-typescript-tsserver*
+
+g:ale_typescript_tsserver_executable *g:ale_typescript_tsserver_executable*
+ *b:ale_typescript_tsserver_executable*
+ Type: |String|
+ Default: `'tsserver'`
+
+ ALE will first discover the tsserver path in an ancestor node_modules
+ directory. If no such path exists, this variable will be used instead.
+
+ If you wish to use only a globally installed version of tsserver, set
+ |g:ale_typescript_tsserver_use_global| to `1`.
+
+
+g:ale_typescript_tsserver_config_path *g:ale_typescript_tsserver_config_path*
+ *b:ale_typescript_tsserver_config_path*
+ Type: |String|
+ Default: `''`
+
+ ALE will first discover the tsserver.json path in an ancestor directory. If
+ no such path exists, this variable will be used instead.
+
+
+g:ale_typescript_tsserver_use_global *g:ale_typescript_tsserver_use_global*
+ *b:ale_typescript_tsserver_use_global*
+ Type: |Number|
+ Default: `0`
+
+ This variable controls whether or not ALE will search for a local path for
+ tsserver first. If this variable is set to `1`, then ALE will always use the
+ global version of tsserver, in preference to locally installed versions of
+ tsserver in node_modules.
+
+
+-------------------------------------------------------------------------------
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: