LunarVim/lua/lsp/elm-ls.lua
Andrés Otárola da0d2dbabe
Add Elm support (#386)
* Add Elm support

See: https://github.com/kabouzeid/nvim-lspinstall/pull/51

* remove comment
2021-05-11 15:34:36 -04:00

9 lines
394 B
Lua

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"
}
}