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

View File

@ -0,0 +1,22 @@
set nocompatible
let &rtp = '../..,' . &rtp
let &rtp .= ',../../after'
filetype plugin indent on
syntax enable
nnoremap q :qall!<cr>
let g:vimtex_cache_persistent = 0
silent edit texwork/example.tex
let s:candidates = vimtex#test#completion('\gls{', '')
call assert_true(len(s:candidates) == 0)
call vimtex#cache#clear('kpsewhich')
call vimtex#cache#clear('parser_tex')
let $TEXINPUTS = getcwd() . '/texinclude:'
let s:candidates = vimtex#test#completion('\gls{', '')
call assert_true(len(s:candidates) > 0)
call vimtex#test#finished()

View File

@ -0,0 +1,9 @@
\section{bar}\label{sec:bar}
\newglossaryentry{g:foo}{%
name={foo},
plural={foos},
description={%
very fooish
}%
}

View File

@ -0,0 +1,21 @@
\documentclass{article}
\usepackage{glossaries}
\makeglossary
\begin{document}
% gf on 'inp.tex' works fine
\input{inp.tex}
% \input{../texinclude/inp.tex}
% completion after type '\ref{' works if aux-file exists
\ref{sec:bar}
% completion after type \gls{' didn't work
\gls{g:foo}
% but completion works if used '\input{../texinclude/inp.tex}
\printglossaries
\end{document}