Skip to content

Commit

Permalink
fix: actually commit the fix for inner lineCharwise (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed Dec 14, 2024
1 parent c975eea commit d3ccc98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/various-textobjs/textobjs/charwise.lua
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ end
---current line, but characterwise
---@param scope "inner"|"outer" outer includes indentation and trailing spaces
function M.lineCharacterwise(scope)
local pattern = "^(%s*).+(%s*)$" -- use `.-` so inner obj does not match trailing spaces
local pattern = "^(%s*).-(%s*)$" -- use `.-` so inner obj does not match trailing spaces
core.selectClosestTextobj(pattern, scope, smallForward())
end

Expand Down

0 comments on commit d3ccc98

Please sign in to comment.