I broke up with neovim....vim is my best friend now

This commit is contained in:
LinlyBoi
2023-04-30 08:14:07 +03:00
parent 0d185449c5
commit 4a4a6b1e81
5245 changed files with 468325 additions and 25 deletions

View File

@@ -0,0 +1,22 @@
MYVIM ?= nvim --clean --headless
INMAKE := 1
export INMAKE
TESTS := $(wildcard test_*_reference.tex)
TESTS := $(TESTS:_reference.tex=)
.PHONY: test $(TESTS)
test: $(TESTS)
$(TESTS):
@rm -f $@_output.tex
@FILEIN=$@_input.tex FILEOUT=$@_output.tex $(MYVIM) -u test.vim
@diff $@_output.tex $@_reference.tex
@rm -f $@_output.tex
test_ampersands-off: export FLAGS=1
test_environments-ignored: export FLAGS=2
test_close-indented: export FLAGS=3
test_close_open_same_line: export FLAGS=4