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,14 @@
MYVIM ?= nvim --clean --headless
INMAKE := 1
export INMAKE
TESTS := $(wildcard test*.vim)
TESTS := $(TESTS:.vim=)
.PHONY: test $(TESTS)
test: $(TESTS)
$(TESTS):
@$(MYVIM) -u $@.vim

View File

@@ -0,0 +1,6 @@
\documentclass{revtex4-1}
\begin{document}
\bibliography{../common/huge}
\end{document}

View File

@@ -0,0 +1,33 @@
set nocompatible
let &rtp = '../..,' . &rtp
filetype plugin on
nnoremap q :qall!<cr>
let g:vimtex_view_automatic = 0
call vimtex#log#set_silent()
let g:ready = 0
augroup test_revtex
autocmd!
autocmd User VimtexEventCompileSuccess let g:ready = 1
autocmd User VimtexEventCompileFailed cquit
augroup END
silent edit test_revtex.tex
silent VimtexCompileSS
while !g:ready
sleep 20m
endwhile
if empty($INMAKE) | finish | endif
call assert_equal(['../common/huge.bib'], vimtex#bib#files())
silent VimtexClean!
call delete('test_revtexNotes.bib')
call delete('test_revtex.bbl')
call vimtex#test#finished()