From 7750afba4e970524bfd16eb0b35103e26547fed1 Mon Sep 17 00:00:00 2001 From: XeroOl Date: Wed, 2 Jul 2025 22:41:11 -0500 Subject: [PATCH] change the CI to run the tests before doing linting --- Makefile | 2 +- src/fennel-ls/formatter.fnl | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 3ac4d69..388f90b 100644 --- a/Makefile +++ b/Makefile @@ -91,7 +91,7 @@ check-deps: diff -r fennel old-fennel rm -rf old-deps old-fennel -ci: selflint testall +ci: testall selflint clean: rm -fr $(EXE) old-deps old-fennel build/ diff --git a/src/fennel-ls/formatter.fnl b/src/fennel-ls/formatter.fnl index 917a859..f7991f9 100644 --- a/src/fennel-ls/formatter.fnl +++ b/src/fennel-ls/formatter.fnl @@ -65,10 +65,6 @@ user code. Fennel-ls doesn't support user-code formatting as of now." ")") (render-arglist args args-offset)))) -(fn fn-format [special ?name args ?docstring] - (.. (code-block (fn-signature-format special ?name args)) - (if ?docstring (.. "\n---\n" ?docstring) ""))) - (fn metadata-format [{: binding : metadata}] "formats a special using its builtin metadata magic" (..