Skip to content

Commit cc54399

Browse files
committed
ci: print nvim version, add fmt target/task
1 parent d0010a5 commit cc54399

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# DIR: path to dir or file to test (default: all of target's files/tests)
33
# SEQ/SYNC: if set, run tests sequentially (default: true for benchmarks, otherwise false)
44

5-
.PHONY: test perf
5+
.PHONY: test t fmt format perf bench
66

77
# because ifdef considers empty vars unset...
88
ifneq "$(origin SEQ)" "undefined"
@@ -14,6 +14,7 @@ else
1414
endif
1515

1616
define run-test
17+
nvim -v
1718
nvim \
1819
--noplugin \
1920
-u tests/min_init.lua \
@@ -28,6 +29,9 @@ t test: DIR ::= $(or $(DIR),tests)
2829
t test:
2930
@$(run-test)
3031

32+
fmt format:
33+
stylua .
34+
3135
perf bench: DIR ::= $(or $(DIR),perf)
3236
perf bench: override SEQ ::= true
3337
perf bench:

TODO.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,4 @@
105105
that are not the current buffer, making it difficult to know which
106106
file/buf the err msg is for).
107107

108-
- [ ] Save on command doesn't work with `luafile %`?
109-
110108
- [ ] feat: opt (and maybe cmd/func) to disable timer

0 commit comments

Comments
 (0)