From 41d9294ce2e7096b11a45564ba4baecacfd8d514 Mon Sep 17 00:00:00 2001 From: Adam Olsen Date: Fri, 27 Dec 2024 13:37:44 -0700 Subject: [PATCH] feat: add refactorex [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. Right now it uses an intermediary repository, https://github.com/synic/refactorex-mason to download the sourcecode, patch it to support the stdio transport, and create a launch script to use the stdio transport. Hopefully in the future this intermediary repository won't be necessary, once refactorex itself supports stdio (https://github.com/gp-pereira/refactorex/pull/19). --- packages/refactorex/package.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 packages/refactorex/package.yaml diff --git a/packages/refactorex/package.yaml b/packages/refactorex/package.yaml new file mode 100644 index 0000000000..a7e9081320 --- /dev/null +++ b/packages/refactorex/package.yaml @@ -0,0 +1,21 @@ +--- +name: refactorex +description: Language server allowing for refactoring Elixir code +homepage: https://github.com/gp-pereira/refactorex +licenses: + - MIT +languages: + - Elixir +categories: + - LSP + +source: + # renovate:versioning=loose + # renovate:datasource=git-refs + id: pkg:github/synic/refactorex-mason@main + build: + run: ./build.sh + bin: exec:refactorex-release/bin/start-stdio + +bin: + refactorex: "{{source.build.bin}}"