aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/elixirls.lua
diff options
context:
space:
mode:
authorIgor <igorlfs@ufmg.br>2025-08-18 23:39:23 -0300
committerIgor <igorlfs@ufmg.br>2025-08-18 23:39:23 -0300
commit030a72f0aa4d56f9e8ff67921e6e3ffd0e97bf07 (patch)
treec0e90403c7dd1123eb7f8288c4d94ee005165aef /lsp/elixirls.lua
parentfix(ts/js): servers do not start when `bun.lock` exists #4008 (diff)
downloadnvim-lspconfig-030a72f0aa4d56f9e8ff67921e6e3ffd0e97bf07.tar
nvim-lspconfig-030a72f0aa4d56f9e8ff67921e6e3ffd0e97bf07.tar.gz
nvim-lspconfig-030a72f0aa4d56f9e8ff67921e6e3ffd0e97bf07.tar.bz2
nvim-lspconfig-030a72f0aa4d56f9e8ff67921e6e3ffd0e97bf07.tar.lz
nvim-lspconfig-030a72f0aa4d56f9e8ff67921e6e3ffd0e97bf07.tar.xz
nvim-lspconfig-030a72f0aa4d56f9e8ff67921e6e3ffd0e97bf07.tar.zst
nvim-lspconfig-030a72f0aa4d56f9e8ff67921e6e3ffd0e97bf07.zip
chore: add type annotation for configs
Diffstat (limited to 'lsp/elixirls.lua')
-rw-r--r--lsp/elixirls.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lsp/elixirls.lua b/lsp/elixirls.lua
index d3e5cb34..e21f9a89 100644
--- a/lsp/elixirls.lua
+++ b/lsp/elixirls.lua
@@ -25,6 +25,7 @@
--- ```
---
--- 'root_dir' is chosen like this: if two or more directories containing `mix.exs` were found when searching directories upward, the second one (higher up) is chosen, with the assumption that it is the root of an umbrella app. Otherwise the directory containing the single mix.exs that was found is chosen.
+---@type vim.lsp.Config
return {
filetypes = { 'elixir', 'eelixir', 'heex', 'surface' },
root_dir = function(bufnr, on_dir)