summaryrefslogtreecommitdiff
path: root/ale_linters/ocaml
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2023-09-14 00:38:12 +0100
committerw0rp <devw0rp@gmail.com>2023-09-14 00:40:56 +0100
commitbe69af270547b0d1dd5fe947efb3f61455f709ed (patch)
tree3d72ab429ed3d6025fb88accbd2be753fb78f26a /ale_linters/ocaml
parent9092af9ad6a5c93a759be571323ea1d0cafa8d6e (diff)
downloadale-be69af270547b0d1dd5fe947efb3f61455f709ed.zip
#4607 No conflicts with nvim-lspconfig by default
Default `g:ale_disable_lsp` to a new mode `'auto'` by default. With this setting applied, ALE will now check for the presence of nvim-lspconfig and automatically turn off particular LSP linters if already configured via nvim-lspconfig. For users that do not use `nvim-lspconfig`, everything should work as before.
Diffstat (limited to 'ale_linters/ocaml')
-rw-r--r--ale_linters/ocaml/ols.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ale_linters/ocaml/ols.vim b/ale_linters/ocaml/ols.vim
index ec71bdb4..b26c7826 100644
--- a/ale_linters/ocaml/ols.vim
+++ b/ale_linters/ocaml/ols.vim
@@ -6,6 +6,7 @@ call ale#Set('ocaml_ols_use_global', get(g:, 'ale_use_global_executables', 0))
call ale#linter#Define('ocaml', {
\ 'name': 'ols',
+\ 'aliases': ['ocaml-language-server'],
\ 'lsp': 'stdio',
\ 'executable': function('ale#handlers#ols#GetExecutable'),
\ 'command': function('ale#handlers#ols#GetCommand'),