Skip to content

Commit

Permalink
feat: allow extract variable command in visual mode
Browse files Browse the repository at this point in the history
  • Loading branch information
s1n7ax committed May 5, 2024
1 parent 61e6f5a commit 0ac2e2f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugin/java.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ local cmd_map = {

JavaProfile = { java.profile.ui },

JavaRefactorExtractVariable = { java.refactor.extract_variable },
JavaRefactorExtractVariable = {
java.refactor.extract_variable,
{ range = 2 },
},
}

for cmd, details in pairs(cmd_map) do
Expand Down

0 comments on commit 0ac2e2f

Please sign in to comment.