From a88384c00917acc57cbd01d60c85fc329c86150e Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Thu, 3 Nov 2022 23:44:34 +0100 Subject: [PATCH] :art: Update linter --- src/import/import_internals.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/import/import_internals.c b/src/import/import_internals.c index b4b2b685..b727a0aa 100644 --- a/src/import/import_internals.c +++ b/src/import/import_internals.c @@ -30,8 +30,8 @@ ANN void gwi_reset(const Gwi gwi) { } ANN static m_bool run_with_doc(const Gwi gwi, m_bool (*f)(const Gwi)) { - struct LintState ls = {.builtin = true, }; - Lint linter = {.mp = gwi->gwion->mp, .ls = &ls, .nindent = 4}; + struct LintState ls = {.builtin = true, .nindent = 4}; + Lint linter = {.mp = gwi->gwion->mp, .ls = &ls }; lint_indent(&linter); lint(&linter, "{-}#!+ %s{0}\n", gwi->gwion->env->name); gwi->lint = &linter; -- 2.43.0