aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/elmls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/elmls.lua')
-rw-r--r--lsp/elmls.lua17
1 files changed, 9 insertions, 8 deletions
diff --git a/lsp/elmls.lua b/lsp/elmls.lua
index 18f0f27b..bee05b89 100644
--- a/lsp/elmls.lua
+++ b/lsp/elmls.lua
@@ -1,16 +1,17 @@
+---@brief
+---
+--- https://github.com/elm-tooling/elm-language-server#installation
+---
+--- If you don't want to use Nvim to install it, then you can use:
+--- ```sh
+--- npm install -g elm elm-test elm-format @elm-tooling/elm-language-server
+--- ```
+
local util = require 'lspconfig.util'
local api = vim.api
local elm_root_pattern = util.root_pattern 'elm.json'
----@brief
----
--- https://github.com/elm-tooling/elm-language-server#installation
---
--- If you don't want to use Nvim to install it, then you can use:
--- ```sh
--- npm install -g elm elm-test elm-format @elm-tooling/elm-language-server
--- ```
return {
cmd = { 'elm-language-server' },
-- TODO(ashkan) if we comment this out, it will allow elmls to operate on elm.json. It seems like it could do that, but no other editor allows it right now.