summaryrefslogtreecommitdiff
path: root/ftplugin/elm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/elm.lua')
-rw-r--r--ftplugin/elm.lua14
1 files changed, 1 insertions, 13 deletions
diff --git a/ftplugin/elm.lua b/ftplugin/elm.lua
index d1d6ee12..38fda314 100644
--- a/ftplugin/elm.lua
+++ b/ftplugin/elm.lua
@@ -1,13 +1 @@
-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 = {
- elmAnalyseTrigger = "change",
- elmFormatPath = DATA_PATH .. "/lspinstall/elm/node_modules/.bin/elm-format",
- elmPath = DATA_PATH .. "/lspinstall/elm/node_modules/.bin/elm",
- elmTestPath = DATA_PATH .. "/lspinstall/elm/node_modules/.bin/elm-test",
- },
-}
+require("lsp").setup "elm"