Skip to content

Commit f4b97b0

Browse files
chore(build): auto-generate vimdoc [skip ci]
1 parent 96d9687 commit f4b97b0

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

doc/elixir-tools.nvim.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
==============================================================================
44
Table 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,

0 commit comments

Comments
 (0)