summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-03-06 10:23:49 +0000
committerw0rp <devw0rp@gmail.com>2018-03-06 10:23:55 +0000
commit0a0535546f4d9a0dfe02671630fdaba72ea5828d (patch)
tree4030efd6be03a941d4c1e247a13d3d1d782d8b27 /plugin
parentb7363bef7d8bdd553f10a6a168f4cd814616f6f9 (diff)
downloadale-0a0535546f4d9a0dfe02671630fdaba72ea5828d.zip
Add a command for stopping all LSP clients
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 69c08496..1aa35826 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -249,6 +249,8 @@ command! -bar ALEToggleBuffer :call ale#toggle#ToggleBuffer(bufnr(''))
command! -bar ALEEnableBuffer :call ale#toggle#EnableBuffer(bufnr(''))
command! -bar ALEDisableBuffer :call ale#toggle#DisableBuffer(bufnr(''))
command! -bar ALEResetBuffer :call ale#toggle#ResetBuffer(bufnr(''))
+" A command to stop all LSP-like clients, including tsserver.
+command! -bar ALEStopAllLSPs :call ale#lsp#reset#StopAllLSPs()
" A command for linting manually.
command! -bar ALELint :call ale#Queue(0, 'lint_file')