lsp in ftplugin austonautomoy

This commit is contained in:
christianchiarulli 2021-07-01 23:42:26 -04:00
parent 9bb4f8a085
commit 20ed47e21e
45 changed files with 404 additions and 142 deletions

9
ftplugin/elm.lua Normal file
View file

@ -0,0 +1,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"
}
}