diff options
Diffstat (limited to 'ftplugin/elm.lua')
-rw-r--r-- | ftplugin/elm.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ftplugin/elm.lua b/ftplugin/elm.lua new file mode 100644 index 00000000..3572a607 --- /dev/null +++ b/ftplugin/elm.lua @@ -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" + } +} |