From 8d8a09635c25ac84bc5696cc74e832d15b77d630 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sun, 1 Feb 2026 19:03:52 -0500 Subject: [PATCH] fix: correct ci --- .github/workflows/luarocks.yaml | 2 +- .pre-commit-config.yaml | 2 +- lua/fugitive-ts/init.lua | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/luarocks.yaml b/.github/workflows/luarocks.yaml index 9f934a5..9b6664e 100644 --- a/.github/workflows/luarocks.yaml +++ b/.github/workflows/luarocks.yaml @@ -3,7 +3,7 @@ name: luarocks on: push: tags: - - "v*" + - 'v*' jobs: quality: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b9f6659..2edf043 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,4 +14,4 @@ repos: hooks: - id: prettier name: prettier - files: \.(md|,toml,yaml,sh)$ + files: \.(md|toml|yaml|sh)$ diff --git a/lua/fugitive-ts/init.lua b/lua/fugitive-ts/init.lua index e6de719..4247062 100644 --- a/lua/fugitive-ts/init.lua +++ b/lua/fugitive-ts/init.lua @@ -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(