summaryrefslogtreecommitdiff
path: root/ftplugin/elm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/elm.lua')
-rw-r--r--ftplugin/elm.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/elm.lua b/ftplugin/elm.lua
index ffd97a2a..d1d6ee12 100644
--- a/ftplugin/elm.lua
+++ b/ftplugin/elm.lua
@@ -1,3 +1,7 @@
+if require("lv-utils").check_lsp_client_active "elmls" then
+ return
+end
+
require("lspconfig").elmls.setup {
cmd = { DATA_PATH .. "/lspinstall/elm/node_modules/.bin/elm-language-server" },
init_options = {