You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The python formatter black, has # fmt: on and # fmt: off tags to tell it to not format certain chunks of code, and fmt: skip to skip a specific line.
Would be great if lua-fmt also provided a way to ignore chunks of code, with something like say:
-- Fon't Format this block of code:
-- fmt: off
local a = 1;
local b = 2;
-- fmt: on
-- This line would be formatted:
local c = 3
-- Don't Format this line:
local d = 4; -- fmt: skip
The text was updated successfully, but these errors were encountered:
The python formatter
black
, has# fmt: on
and# fmt: off
tags to tell it to not format certain chunks of code, andfmt: skip
to skip a specific line.Would be great if lua-fmt also provided a way to ignore chunks of code, with something like say:
The text was updated successfully, but these errors were encountered: