File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 1- *elixir-tools.nvim.txt* For NVIM v0.8.0 Last change: 2025 October 13
1+ *elixir-tools.nvim.txt* For NVIM v0.8.0 Last change: 2025 October 14
22
33==============================================================================
44Table of Contents *elixir-tools.nvim-table-of-contents*
@@ -171,6 +171,16 @@ some personal configuration.
171171 -- not currently supported by elixirls, but can be a table if you wish to pass other args `{"path/to/elixirls", "--foo"}`
172172 cmd = "/usr/local/bin/elixir-ls.sh",
173173
174+ -- extension point to link in to server specific commands
175+ -- by default, the codelens action below runs a default test runner in a terminal buffer
176+ -- replacing it as shown here will override default behavior, allow running a custom function instead
177+ -- `args ` are anything the lsp command passes back to the callback function
178+ commands = {
179+ ["elixir.lens.test.run"] = function(args)
180+ -- custom functionality here as needed
181+ end
182+ },
183+
174184 -- default settings, use the `settings` function to override settings
175185 settings = elixirls.settings {
176186 dialyzerEnabled = true,
You can’t perform that action at this time.
0 commit comments