From 359c06d002304cb1a3e56936a2f69c3ec2c4de14 Mon Sep 17 00:00:00 2001 From: christianchiarulli Date: Thu, 15 Jul 2021 13:49:15 -0400 Subject: add on attach to more langs --- lua/lang/elm.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'lua/lang/elm.lua') 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", -- cgit v1.2.3