summaryrefslogtreecommitdiff
path: root/ftplugin/elm.lua
diff options
context:
space:
mode:
authorchristianchiarulli <[email protected]>2021-07-14 18:50:07 -0400
committerchristianchiarulli <[email protected]>2021-07-14 18:50:07 -0400
commit2a7b3d4892605508d0b0328444d689e1c4922897 (patch)
treebc43127c8c01edbac4871813433f18d7d23942d6 /ftplugin/elm.lua
parent81adc270dd674b2f3da19340f0c34d60d8667542 (diff)
reformat most langs
Diffstat (limited to 'ftplugin/elm.lua')
-rw-r--r--ftplugin/elm.lua17
1 files changed, 4 insertions, 13 deletions
diff --git a/ftplugin/elm.lua b/ftplugin/elm.lua
index d1d6ee12..0868b9db 100644
--- a/ftplugin/elm.lua
+++ b/ftplugin/elm.lua
@@ -1,13 +1,4 @@
-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("lang.elm").format()
+require("lang.elm").lint()
+require("lang.elm").lsp()
+require("lang.elm").dap()