1

Update generated nvim config

This commit is contained in:
2024-06-05 22:05:42 +02:00
parent 859ee3a2ba
commit 075fe5f587
1292 changed files with 152601 additions and 0 deletions

View File

@ -0,0 +1,14 @@
MYVIM ?= nvim --clean --headless
INMAKE := 1
export INMAKE
TESTS := $(wildcard test*.vim)
TESTS := $(TESTS:.vim=)
.PHONY: default $(TESTS)
default: $(TESTS)
$(TESTS):
@$(MYVIM) -u $@.vim

View File

@ -0,0 +1,46 @@
set nocompatible
let &rtp = '../..,' . &rtp
filetype plugin on
nnoremap q :qall!<cr>
function! Test(file, expected) abort
silent edit test_auxdir/test.tex
let l:file = vimtex#paths#shorten_relative(
\ b:vimtex.compiler.get_file(a:file))
call assert_equal(a:expected, l:file)
bwipeout
endfunction
call Test('pdf', 'test.pdf')
let g:vimtex_compiler_latexmk = {'out_dir': 'out'}
call Test('pdf', 'out/test.pdf')
call Test('aux', 'out/test.aux')
call Test('fls', 'out/test.fls')
call Test('log', 'out/test.log')
call Test('blg', 'out/test.blg')
let g:vimtex_compiler_latexmk = {'aux_dir': 'auxfiles'}
call Test('pdf', 'test.pdf')
call Test('fls', 'test.fls')
call Test('aux', 'auxfiles/test.aux')
call Test('log', 'auxfiles/test.log')
call Test('blg', 'auxfiles/test.blg')
let g:vimtex_compiler_latexmk = {
\ 'out_dir': 'out',
\ 'aux_dir': 'auxfiles'
\}
call Test('pdf', 'out/test.pdf')
call Test('fls', 'out/test.fls')
call Test('aux', 'auxfiles/test.aux')
call Test('log', 'auxfiles/test.log')
call Test('blg', 'auxfiles/test.blg')
call vimtex#log#set_silent()
let $VIMTEX_OUTPUT_DIRECTORY = 'out'
call Test('aux', 'out/test.aux')
call Test('log', 'out/test.log')
call vimtex#test#finished()

View File

@ -0,0 +1,6 @@
\documentclass{minimal}
\begin{document}
Dummy file
\end{document}