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,19 @@
set nocompatible
let &rtp = '../..,' . &rtp
filetype plugin on
call vimtex#log#set_silent()
nnoremap q :qall!<cr>
silent edit test_nested/parts/chapter.tex
call assert_equal(expand('%:p:h:h'), b:vimtex.root)
silent VimtexToggleMain
call assert_equal(expand('%:p:h'), b:vimtex.root)
silent edit test_nested/parts/sections/first.tex
call assert_equal(expand('%:p:h:h:h'), b:vimtex.root)
silent VimtexToggleMain
call assert_equal(expand('%:p:h'), b:vimtex.root)
call vimtex#test#finished()

View File

@ -0,0 +1,9 @@
\documentclass[a4paper]{report}
\usepackage{subfiles}
\begin{document}
\tableofcontents
\subfile{parts/chapter.tex}
\end{document}

View File

@ -0,0 +1,7 @@
\documentclass[../main.tex]{subfiles}
\begin{document}
\chapter{Chapter with subsections}
Here we introduce the bug as it currently is experienced by a user.
\subfile{sections/first.tex}
\subfile{sections/second.tex}
\end{document}

View File

@ -0,0 +1,10 @@
\documentclass[../../main.tex]{subfiles}
\begin{document}
\section{The first section}
Titling notwithstanding, could this issue be a case of PEBCAC?
\subsection{A subsection}
Hello world.
\end{document}

View File

@ -0,0 +1,5 @@
\documentclass[../../main.tex]{subfiles}
\begin{document}
\section{The second section}
You don't always think it be like this, but it do.
\end{document}