fix: correct ci
This commit is contained in:
parent
0e86f45c39
commit
8d8a09635c
3 changed files with 4 additions and 5 deletions
2
.github/workflows/luarocks.yaml
vendored
2
.github/workflows/luarocks.yaml
vendored
|
|
@ -3,7 +3,7 @@ name: luarocks
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- "v*"
|
- 'v*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
quality:
|
quality:
|
||||||
|
|
|
||||||
|
|
@ -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)$
|
||||||
|
|
|
||||||
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue