@@ -106,11 +106,23 @@ This requires Dialyzer."
106106 :package-version '(lsp-mode . " 8.0.0" ))
107107
108108(defcustom lsp-elixir-dot-formatter " .formatter.exs"
109- " Mix environment to use for compilation ."
109+ " Filename used for formatting ."
110110 :type 'string
111111 :group 'lsp-elixir
112112 :package-version '(lsp-mode . " 9.0.0" ))
113113
114+ (defcustom lsp-elixir-mcp-enabled nil
115+ " Enable or disable the MCP server."
116+ :type 'boolean
117+ :group 'lsp-elixir
118+ :package-version '(lsp-mode . " 9.0.0" ))
119+
120+ (defcustom lsp-elixir-mcp-port nil
121+ " Set a specific port for the MCP server."
122+ :type 'number
123+ :group 'lsp-elixir
124+ :package-version '(lsp-mode . " 9.0.0" ))
125+
114126(defgroup lsp-elixir nil
115127 " LSP support for Elixir, using elixir-ls."
116128 :group 'lsp-mode
@@ -129,7 +141,7 @@ Leave as default to let `executable-find' search for it."
129141 :type '(repeat string)
130142 :package-version '(lsp-mode . " 8.0.0" ))
131143
132- (defcustom lsp-elixir-ls-version " v0.29.1 "
144+ (defcustom lsp-elixir-ls-version " v0.29.2 "
133145 " Elixir-Ls version to download.
134146It has to be set before `lsp-elixir.el' is loaded and it has to
135147be available here: https://github.com/elixir-lsp/elixir-ls/releases/"
@@ -206,7 +218,9 @@ be available here: https://github.com/elixir-lsp/elixir-ls/releases/"
206218 (" elixirLS.autoInsertRequiredAlias" lsp-elixir-auto-insert-required-alias t )
207219 (" elixirLS.signatureAfterComplete" lsp-elixir-signature-after-complete t )
208220 (" elixirLS.enableTestLenses" lsp-elixir-enable-test-lenses t )
209- (" elixirLS.dotFormatter" lsp-elixir-dot-formatter)))
221+ (" elixirLS.dotFormatter" lsp-elixir-dot-formatter)
222+ (" elixirLS.mcpEnabled" lsp-elixir-mcp-enabled t )
223+ (" elixirLS.mcpPort" lsp-elixir-mcp-port)))
210224
211225(lsp-register-client
212226 (make-lsp-client :new-connection (lsp-stdio-connection
0 commit comments