Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RefactorEx](https://github.com/gp-pereira/refactorex) is an LSP server that allows for refactoring Elixir code. It adds the ability to rename symbols via `vim.lsp.buf.rename()` and various code actions. Tested with the following code: ```lua require("lspconfig.configs").refactorex = { default_config = { cmd = { vim.fn.stdpath("data") .. "/mason/bin/refactorex", "--stdio" }, filetypes = { "elixir" }, root_dir = function(fname) return require("lspconfig").util.root_pattern("mix.exs")(fname) end, settings = {}, capabilities = { textDocumentSync = { openClose = true, change = 1, save = { includeText = true }, }, codeActionProvider = { resolveProvider = true, }, renameProvider = { prepareProvider = true, }, }, }, } require("lspconfig").refactorex.setup({}) ``` Originally I had the build section like this: ```yaml source: # renovate:datasource=github-tags id: pkg:github/gp-pereira/[email protected] build: run: | mix deps.get mix compile ``` However, it would never run `mix compile`, that step was always just skipped. Not sure why.
- Loading branch information