Skip to content

Commit b52b352

Browse files
authored
chore: add stylua ignore comment for code formatting
1 parent 07f1fac commit b52b352

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/generate-ecodes.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ local function write_ecodes_enums(path)
262262
for prefix, ecodes in spairs(ecodes_by_prefix) do
263263
if prefixes[prefix] then
264264
text[#text + 1] = ""
265+
text[#text + 1] = "-- stylua: ignore"
265266
text[#text + 1] = fmt("---@enum evdev.ecodes.%s", prefix:lower())
266267
text[#text + 1] = fmt("local %s = %s", prefix, stringify(ecodes))
267268
end

0 commit comments

Comments
 (0)