Skip to content

Commit 2989e89

Browse files
docs(refactoring): accomodate changes in neovim api (#102)
1 parent 18910d0 commit 2989e89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/BUILTINS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ local sources = { null_ls.builtins.code_actions.refactoring }
132132

133133
#### Notes
134134

135-
- Requires visually selecting the code you want to refactor and calling `:'<,'>lua vim.lsp.buf.range_code_action()` (for the default handler) or `:'<,'>Telescope lsp_range_code_actions` (for Telescope).
135+
- Requires visually selecting the code you want to refactor and calling `:'<,'>lua vim.lsp.buf.code_action()`.
136136

137137
### [statix](https://github.com/nerdypepper/statix)
138138

lua/null-ls/builtins/code_actions/refactoring.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ return h.make_builtin({
99
url = "https://github.com/ThePrimeagen/refactoring.nvim",
1010
description = "The Refactoring library based off the Refactoring book by Martin Fowler.",
1111
notes = {
12-
[[Requires visually selecting the code you want to refactor and calling `:'<,'>lua vim.lsp.buf.range_code_action()` (for the default handler) or `:'<,'>Telescope lsp_range_code_actions` (for Telescope).]],
12+
[[Requires visually selecting the code you want to refactor and calling `:'<,'>lua vim.lsp.buf.code_action()`]],
1313
},
1414
},
1515
method = CODE_ACTION,

0 commit comments

Comments
 (0)