From b8b8c3c141417de7712bb3ea7112bf79af1fba79 Mon Sep 17 00:00:00 2001 From: dundargoc Date: Sat, 8 Feb 2025 22:11:37 +0100 Subject: [PATCH] fix: disable luals warnings Generated files should not be linted since it's not possible to fix them. --- crates/vim9-gen/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/vim9-gen/src/lib.rs b/crates/vim9-gen/src/lib.rs index 7c90d46..f59a486 100644 --- a/crates/vim9-gen/src/lib.rs +++ b/crates/vim9-gen/src/lib.rs @@ -1681,6 +1681,7 @@ mod generate_program { -- Ignore "value assigned to a local variable is unused" because -- we can't guarantee that local variables will be used by plugins -- luacheck: ignore 311 +--- @diagnostic disable local vim9 = require('_vim9script') local M = {}