summaryrefslogtreecommitdiff
path: root/lua/lsp/elm-ls.lua
blob: 3572a60767ba628badbec7c4fca3032b7107626c (plain)
1
2
3
4
5
6
7
8
9
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"
	}
}