aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/elmls.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-04-18 17:44:38 +0200
committerJustin M. Keyes <justinkz@gmail.com>2025-04-18 17:44:38 +0200
commitf8b5cbe6312b568def1f91d747e2cdb8984fdf2e (patch)
treec1baf319b22d8ccc7d3468276b5ba9a26dfa2775 /lsp/elmls.lua
parentfeat: angularls #3746 (diff)
downloadnvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar
nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.gz
nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.bz2
nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.lz
nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.xz
nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.tar.zst
nvim-lspconfig-f8b5cbe6312b568def1f91d747e2cdb8984fdf2e.zip
docs: cleanup
- brief should live at the top of each file - fix indentation for some docs
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.