From e3714c8049b2243e792492c4149e4cc395c68eb9 Mon Sep 17 00:00:00 2001 From: Steven Arcangeli Date: Sat, 1 Jun 2024 19:27:39 -0700 Subject: [PATCH] ci: use nvim-typecheck-action v2 --- .github/workflows/tests.yml | 2 +- lua/dressing/map_util.lua | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2336af3..4d622f1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -42,7 +42,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - uses: stevearc/nvim-typecheck-action@v1 + - uses: stevearc/nvim-typecheck-action@v2 with: path: lua diff --git a/lua/dressing/map_util.lua b/lua/dressing/map_util.lua index 965eb4f..af1e41a 100644 --- a/lua/dressing/map_util.lua +++ b/lua/dressing/map_util.lua @@ -1,5 +1,7 @@ local M = {} +---@diagnostic disable: undefined-field + M.create_plug_maps = function(bufnr, plug_bindings) for _, binding in ipairs(plug_bindings) do vim.keymap.set(