Skip to content

Commit

Permalink
Merge pull request #55 from kevintraver/fix/stylua-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser authored Oct 6, 2023
2 parents fea5786 + ca5e587 commit fc1ed8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lua/various-textobjs/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ local function argConvert(arg)
if arg == false then return "outer" end
if arg == true then return "inner" end
if arg ~= "outer" and arg ~= "inner" then
u.notify(
u.notify(
"Invalid argument for textobject, only 'outer' and 'inner' accepted. Falling back to outer textobject.",
"warn"
)
Expand Down
4 changes: 2 additions & 2 deletions lua/various-textobjs/linewise-textobjs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,14 @@ function M.mdFencedCodeBlock(scope, lookForwL)
end

---lines visible in window textobj
function M.visibleInWindow()
function M.visibleInWindow()
local start = fn.line("w0")
local ending = fn.line("w$")
setLinewiseSelection(start, ending)
end

-- from cursor line to last visible line in window
function M.restOfWindow()
function M.restOfWindow()
local start = fn.line(".")
local ending = fn.line("w$")
setLinewiseSelection(start, ending)
Expand Down

0 comments on commit fc1ed8e

Please sign in to comment.