fix: correct ci

This commit is contained in:
Barrett Ruth 2026-02-01 19:03:52 -05:00
parent 0e86f45c39
commit 8d8a09635c
3 changed files with 4 additions and 5 deletions

View file

@ -3,7 +3,7 @@ name: luarocks
on:
push:
tags:
- "v*"
- 'v*'
jobs:
quality:

View file

@ -14,4 +14,4 @@ repos:
hooks:
- id: prettier
name: prettier
files: \.(md|,toml,yaml,sh)$
files: \.(md|toml|yaml|sh)$

View file

@ -63,12 +63,11 @@ end
---@param bufnr integer
---@return fun()
local function create_debounced_highlight(bufnr)
---@type uv_timer_t?
local timer = nil
return function()
if timer then
timer:stop()
timer:close()
timer:stop() ---@diagnostic disable-line: undefined-field
timer:close() ---@diagnostic disable-line: undefined-field
end
timer = vim.uv.new_timer()
timer:start(