File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 2
2
# DIR: path to dir or file to test (default: all of target's files/tests)
3
3
# SEQ/SYNC: if set, run tests sequentially (default: true for benchmarks, otherwise false)
4
4
5
- .PHONY : test perf
5
+ .PHONY : test t fmt format perf bench
6
6
7
7
# because ifdef considers empty vars unset...
8
8
ifneq "$(origin SEQ ) " "undefined"
14
14
endif
15
15
16
16
define run-test
17
+ nvim -v
17
18
nvim \
18
19
--noplugin \
19
20
-u tests/min_init.lua \
@@ -28,6 +29,9 @@ t test: DIR ::= $(or $(DIR),tests)
28
29
t test :
29
30
@$(run-test )
30
31
32
+ fmt format :
33
+ stylua .
34
+
31
35
perf bench : DIR ::= $(or $(DIR ) ,perf)
32
36
perf bench : override SEQ ::= true
33
37
perf bench :
Original file line number Diff line number Diff line change 105
105
that are not the current buffer, making it difficult to know which
106
106
file/buf the err msg is for).
107
107
108
- - [ ] Save on command doesn't work with ` luafile % ` ?
109
-
110
108
- [ ] feat: opt (and maybe cmd/func) to disable timer
You can’t perform that action at this time.
0 commit comments