Skip to content

Commit b9c8c2f

Browse files
committed
fix: disable luals warnings
Generated files should not be linted since it's not possible to fix them.
1 parent 4ccd4ca commit b9c8c2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/vim9-gen/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1681,6 +1681,7 @@ mod generate_program {
16811681
-- Ignore "value assigned to a local variable is unused" because
16821682
-- we can't guarantee that local variables will be used by plugins
16831683
-- luacheck: ignore 311
1684+
--- @diagnostic disable
16841685
16851686
local vim9 = require('_vim9script')
16861687
local M = {}

0 commit comments

Comments
 (0)