summaryrefslogtreecommitdiff
path: root/doc/ale.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ale.txt')
-rw-r--r--doc/ale.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index 211ac1c3..9b25e6ec 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -455,6 +455,11 @@ If you want to use another plugin for LSP features and tsserver, you can use
the |g:ale_disable_lsp| setting to disable ALE's own LSP integrations, or
ignore particular linters with |g:ale_linters_ignore|.
+If for any reason you want to stop a language server ALE starts, such as when
+a project configuration has significantly changed, or new files have been
+added the language server isn't aware of, use either |ALEStopLSP| or
+|ALEStopAllLSPs| to stop the server until ALE automatically starts it again.
+
-------------------------------------------------------------------------------
5.1 Completion *ale-completion*
@@ -3931,6 +3936,17 @@ ALEStopAllLSPs *ALEStopAllLSPs*
This command can be used when LSP clients mess up and need to be restarted.
+ALEStopLSP `linter_name` *ALEStopLSP*
+
+ `ALEStopLSP` will stop a specific language server with a given linter name.
+ Completion is supported for currently running language servers. All language
+ servers with the given name will be stopped across all buffers for all
+ projects.
+
+ If the command is run with a bang (`:ALEStopLSP!`), all warnings will be
+ suppressed.
+
+
===============================================================================
9. API *ale-api*