aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/lexical.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/lexical.lua')
-rw-r--r--lsp/lexical.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/lsp/lexical.lua b/lsp/lexical.lua
new file mode 100644
index 00000000..5087584b
--- /dev/null
+++ b/lsp/lexical.lua
@@ -0,0 +1,14 @@
+---@brief
+---
+---https://github.com/lexical-lsp/lexical
+--
+-- Lexical is a next-generation language server for the Elixir programming language.
+--
+-- Follow the [Detailed Installation Instructions](https://github.com/lexical-lsp/lexical/blob/main/pages/installation.md)
+--
+-- **By default, `lexical` doesn't have a `cmd` set.**
+-- This is because nvim-lspconfig does not make assumptions about your path.
+return {
+ filetypes = { 'elixir', 'eelixir', 'heex', 'surface' },
+ root_markers = { 'mix.exs', '.git' },
+}