mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 02:38:46 +00:00
fix(picker.lines): col is first non-whitespace. Closes #806
This commit is contained in:
parent
3c4151dbec
commit
ec8eb60515
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ function M.lines(opts)
|
|||
local item = {
|
||||
buf = buf,
|
||||
text = line,
|
||||
pos = { l, 0 },
|
||||
pos = { l, (line:find("%S") or 1) - 1 },
|
||||
highlights = extmarks[l],
|
||||
}
|
||||
items[#items + 1] = item
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue