diff options
Diffstat (limited to 'lua/lang/elm.lua')
-rw-r--r-- | lua/lang/elm.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/lang/elm.lua b/lua/lang/elm.lua index 159d891f..54526e0c 100644 --- a/lua/lang/elm.lua +++ b/lua/lang/elm.lua @@ -21,6 +21,7 @@ M.lsp = function() require("lspconfig").elmls.setup { cmd = { DATA_PATH .. "/lspinstall/elm/node_modules/.bin/elm-language-server" }, + on_attach = require("lsp").common_on_attach, init_options = { elmAnalyseTrigger = "change", elmFormatPath = DATA_PATH .. "/lspinstall/elm/node_modules/.bin/elm-format", |