I broke up with neovim....vim is my best friend now
This commit is contained in:
16
dot_vim/plugged/vimtex/test/test-formatting/Makefile
Normal file
16
dot_vim/plugged/vimtex/test/test-formatting/Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
MYVIM ?= nvim --clean --headless
|
||||
|
||||
INMAKE := 1
|
||||
export INMAKE
|
||||
|
||||
TESTS := $(wildcard *.ref)
|
||||
TESTS := $(TESTS:.ref=)
|
||||
|
||||
.PHONY: test $(TESTS)
|
||||
|
||||
test: $(TESTS)
|
||||
@rm -f test-*.out
|
||||
|
||||
$(TESTS):
|
||||
@FILE=$@ $(MYVIM) -u test.vim
|
||||
@diff $@.out $@.ref
|
||||
Reference in New Issue
Block a user