refactor(struct_tags): error on out-of-bounds
This commit is contained in:
parent
4406b25c0f
commit
223fa76647
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ local function handle_tags(fpath, bufnr, user_args)
|
|||
bufnr,
|
||||
res["start"] - 1,
|
||||
res["start"] - 1 + #res["lines"],
|
||||
false,
|
||||
true,
|
||||
res["lines"]
|
||||
)
|
||||
vim.cmd "write"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue