add on attach to more langs

This commit is contained in:
christianchiarulli 2021-07-15 13:49:15 -04:00
parent 776c3ca935
commit 359c06d002
4 changed files with 6 additions and 1 deletions

View file

@ -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",