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: on:
push: push:
tags: tags:
- "v*" - 'v*'
jobs: jobs:
quality: quality:

View file

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

View file

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