Skip to content

Commit

Permalink
fixing lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicDuck committed Sep 3, 2024
1 parent af37b8d commit fe915b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/grug-far/inputs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ function M.getInputAtRow(context, buf, row)
)

if start_row and end_boundary_row then
---@cast start_row integer
---@cast end_boundary_row integer
local end_row = end_boundary_row - 1
local value_lines = vim.api.nvim_buf_get_lines(buf, start_row, end_row + 1, false)
local value = vim.fn.join(value_lines, '\n')
Expand Down

0 comments on commit fe915b2

Please sign in to comment.