Update generated nvim config
This commit is contained in:
1
config/neovim/store/lazy-plugins/vimtex/test/test-completion-bibtex/.gitignore
vendored
Normal file
1
config/neovim/store/lazy-plugins/vimtex/test/test-completion-bibtex/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
test_parser_*
|
||||
@ -0,0 +1,21 @@
|
||||
MYVIM ?= nvim --clean --headless
|
||||
|
||||
INMAKE := 1
|
||||
export INMAKE
|
||||
|
||||
TESTS := $(wildcard test*.vim)
|
||||
TESTS := $(filter-out test_backend,$(TESTS:.vim=))
|
||||
BACKENDS := bibtex vim lua
|
||||
|
||||
.PHONY: test $(TESTS) $(BACKENDS) test-cleanup
|
||||
|
||||
test: $(TESTS) $(BACKENDS) test-cleanup
|
||||
|
||||
$(TESTS):
|
||||
@$(MYVIM) -u $@.vim
|
||||
|
||||
$(BACKENDS):
|
||||
@BACKEND=$@ $(MYVIM) -u test_backend.vim
|
||||
|
||||
test-cleanup: $(TESTS_ALL)
|
||||
@rm -f nvim_servernames.log
|
||||
@ -0,0 +1,21 @@
|
||||
\documentclass{article}
|
||||
\usepackage[backend=biber,style=authoryear]{biblatex}
|
||||
|
||||
\addbibresource{biblatex-examples.bib}
|
||||
\addbibresource{../common/local1.bib}
|
||||
\addbibresource{../common/local2.bib}
|
||||
|
||||
\begin{document}
|
||||
|
||||
% Examples of Biblatex citation commands
|
||||
\cite{aristotle:physics} \\
|
||||
\cite[5--10]{aristotle:physics} \\
|
||||
\cite[see][5--10]{aristotle:physics} \\
|
||||
\parencite{aristotle:physics} \\
|
||||
\parencite[5--10]{aristotle:physics} \\
|
||||
\parencite[see][5--10]{aristotle:physics} \\
|
||||
\textcite{aristotle:physics} \\
|
||||
\textcite[5--10]{aristotle:physics} \\
|
||||
\textcite[see][5--10]{aristotle:physics} \\
|
||||
|
||||
\end{document}
|
||||
@ -0,0 +1,45 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
let g:vimtex_cache_root = '.'
|
||||
let g:vimtex_cache_persistent = 0
|
||||
if !empty($BACKEND)
|
||||
let g:vimtex_parser_bib_backend = $BACKEND
|
||||
endif
|
||||
|
||||
silent edit test_backend.tex
|
||||
|
||||
if empty($INMAKE) | finish | endif
|
||||
|
||||
if g:vimtex_parser_bib_backend ==# 'lua' && !has('nvim')
|
||||
call vimtex#test#finished()
|
||||
endif
|
||||
|
||||
" Simplify test on basic systems
|
||||
if empty(vimtex#kpsewhich#find('biblatex-examples.bib'))
|
||||
let s:candidates = vimtex#test#completion('\cite{', '')
|
||||
call assert_true(len(s:candidates) >= 1)
|
||||
call vimtex#test#finished()
|
||||
quit!
|
||||
endif
|
||||
|
||||
let s:candidates = vimtex#test#completion('\cite{', '')
|
||||
call assert_equal(94, len(s:candidates))
|
||||
|
||||
let s:candidates = vimtex#test#completion('\citet{', '.*ocal')
|
||||
call assert_equal(2, len(s:candidates))
|
||||
|
||||
let s:candidates = vimtex#test#completion(
|
||||
\ '\parencite[see][5--10]{', 'Arist.*1929')
|
||||
call assert_equal(1, len(s:candidates))
|
||||
call assert_equal('aristotle:physics', s:candidates[0].word)
|
||||
|
||||
let g:vimtex_complete_bib.simple = 1
|
||||
let s:candidates = vimtex#test#completion('\textcite[5--10]{', 'aristotle:p')
|
||||
call assert_equal(2, len(s:candidates))
|
||||
call assert_equal('aristotle:physics', s:candidates[0].word)
|
||||
|
||||
call vimtex#test#finished()
|
||||
@ -0,0 +1,12 @@
|
||||
@article{mueller-2019-csra,
|
||||
title = {A new role for {CsrA}: promotion of complex formation between an
|
||||
sRNA and its mRNA target in Bacillus subtilis},
|
||||
author = {M{\"u}ller, Peter and Gimpel, Matthias and Wildenhain, Theresa
|
||||
and Brantl, Sabine},
|
||||
journal = {RNA biology},
|
||||
volume = {16},
|
||||
number = {7},
|
||||
pages = {972--987},
|
||||
year = {2019},
|
||||
publisher = {Taylor \& Francis}
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
\documentclass{article}
|
||||
\usepackage[backend=biber]{biblatex}
|
||||
\addbibresource{test_cache.bib}
|
||||
|
||||
\begin{document}
|
||||
Test
|
||||
\end{document}
|
||||
@ -0,0 +1,34 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
let g:vimtex_cache_root = '.'
|
||||
let g:vimtex_parser_bib_backend = 'bibtex'
|
||||
|
||||
silent edit test_cache.tex
|
||||
|
||||
if empty($INMAKE) | finish | endif
|
||||
|
||||
let s:candidates = vimtex#test#completion('\cite{', '')
|
||||
call assert_true(len(s:candidates) == 1)
|
||||
call assert_equal(
|
||||
\ '[a] Müller et al. (2019), "A new role for CsrA: promotion of complex formation between an srna and its mrna target in bacillus subtilis"',
|
||||
\ s:candidates[0].menu
|
||||
\)
|
||||
|
||||
call vimtex#cache#close('bibcomplete')
|
||||
let g:vimtex_complete_bib.menu_fmt = '[@type] @year @author_short'
|
||||
let s:candidates = vimtex#test#completion('\cite{', '')
|
||||
call assert_true(len(s:candidates) == 1)
|
||||
call assert_equal(
|
||||
\ '[a] 2019 Müller et al.',
|
||||
\ s:candidates[0].menu
|
||||
\)
|
||||
|
||||
for s:file in glob('*.json', 0, 1)
|
||||
call delete(s:file)
|
||||
endfor
|
||||
|
||||
call vimtex#test#finished()
|
||||
@ -0,0 +1,5 @@
|
||||
@article{test,
|
||||
author = {AUTHOR},
|
||||
title = {TITLE},
|
||||
journal = {JOURNAL},
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
\documentclass{amsart}
|
||||
\newcommand{mybibliography}[1]{
|
||||
\phantomsection\addcontentsline{toc}{subsubsection}{Reference}
|
||||
\bibliography{#1}
|
||||
}
|
||||
|
||||
\mybibliography{test_custom_bibs}
|
||||
|
||||
\begin{document}
|
||||
Test
|
||||
\end{document}
|
||||
@ -0,0 +1,21 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
let g:vimtex_cache_root = '.'
|
||||
let g:vimtex_cache_persistent = 0
|
||||
|
||||
let g:vimtex_bibliography_commands = [
|
||||
\ 'mybibliography',
|
||||
\]
|
||||
|
||||
silent edit test_custom_bibs.tex
|
||||
|
||||
if empty($INMAKE) | finish | endif
|
||||
|
||||
let s:candidates = vimtex#test#completion('\cite*{', '')
|
||||
call assert_true(len(s:candidates) > 0)
|
||||
|
||||
call vimtex#test#finished()
|
||||
@ -0,0 +1,13 @@
|
||||
@article{Agostini2019b,
|
||||
author = "Agostini, M. and others",
|
||||
archivePrefix = "arXiv",
|
||||
collaboration = "Gerda",
|
||||
doi = "10.1007/JHEP03(2020)139",
|
||||
eprint = "1909.02522",
|
||||
journal = "JHEP",
|
||||
pages = "139",
|
||||
primaryClass = "nucl-ex",
|
||||
title = "{Modeling of GERDA Phase II data}",
|
||||
volume = "03",
|
||||
year = "2020"
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
@book{DBLP:books/aw/Lamport86,
|
||||
author = {Leslie Lamport},
|
||||
title = {LaTeX: User's Guide {\&} Reference Manual},
|
||||
publisher = {Addison-Wesley},
|
||||
year = {1986},
|
||||
isbn = {0-201-15790-X},
|
||||
timestamp = {Thu, 03 Jan 2002 11:51:07 +0100},
|
||||
biburl = {https://dblp.org/rec/books/aw/Lamport86.bib},
|
||||
bibsource = {dblp computer science bibliography, https://dblp.org}
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
@book{DBLP:books/aw/Knuth86a,
|
||||
author = {Donald E. Knuth},
|
||||
title = {TeX: The Program},
|
||||
publisher = {Addison-Wesley},
|
||||
year = {1986},
|
||||
isbn = {0-201-13437-3},
|
||||
timestamp = {Thu, 03 Jan 2002 11:51:07 +0100},
|
||||
biburl = {https://dblp.org/rec/books/aw/Knuth86a.bib},
|
||||
bibsource = {dblp computer science bibliography, https://dblp.org}
|
||||
}
|
||||
@ -0,0 +1,6 @@
|
||||
\documentclass{article}
|
||||
\usepackage{biblatex}
|
||||
\addbibresource{test_globbed_{1,2}.bib}
|
||||
\begin{document}
|
||||
Test
|
||||
\end{document}
|
||||
@ -0,0 +1,28 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
let g:vimtex_cache_root = '.'
|
||||
let g:vimtex_cache_persistent = 0
|
||||
|
||||
|
||||
" Uses s:files_manual() since there is no bcf file
|
||||
silent edit test_globbed_braces.tex
|
||||
let s:candidates = vimtex#test#completion('\cite{', '')
|
||||
call assert_equal(2, len(s:candidates))
|
||||
bwipeout!
|
||||
|
||||
|
||||
" Uses bcf parser
|
||||
call writefile(
|
||||
\ ['<bcf:datasource type="file" datatype="bibtex">test_globbed_{1,2}.bib</bcf:datasource>'],
|
||||
\ 'test_globbed_braces.bcf')
|
||||
silent edit test_globbed_braces.tex
|
||||
let s:candidates = vimtex#test#completion('\cite{', '')
|
||||
call assert_equal(2, len(s:candidates))
|
||||
call delete('test_globbed_braces.bcf')
|
||||
|
||||
|
||||
call vimtex#test#finished()
|
||||
@ -0,0 +1,6 @@
|
||||
\documentclass{article}
|
||||
\usepackage{biblatex}
|
||||
\addbibresource{test_globbed_[12].bib}
|
||||
\begin{document}
|
||||
Test
|
||||
\end{document}
|
||||
@ -0,0 +1,28 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
let g:vimtex_cache_root = '.'
|
||||
let g:vimtex_cache_persistent = 0
|
||||
|
||||
|
||||
" Uses s:files_manual() since there is no bcf file
|
||||
silent edit test_globbed_bracket.tex
|
||||
let s:candidates = vimtex#test#completion('\cite{', '')
|
||||
call assert_equal(2, len(s:candidates))
|
||||
bwipeout!
|
||||
|
||||
|
||||
" Uses bcf parser
|
||||
call writefile(
|
||||
\ ['<bcf:datasource type="file" datatype="bibtex">test_globbed_[12].bib</bcf:datasource>'],
|
||||
\ 'test_globbed_bracket.bcf')
|
||||
silent edit test_globbed_bracket.tex
|
||||
let s:candidates = vimtex#test#completion('\cite{', '')
|
||||
call assert_equal(2, len(s:candidates))
|
||||
call delete('test_globbed_bracket.bcf')
|
||||
|
||||
|
||||
call vimtex#test#finished()
|
||||
@ -0,0 +1,6 @@
|
||||
\documentclass{article}
|
||||
\usepackage{biblatex}
|
||||
\addbibresource{test_gl*.bib}
|
||||
\begin{document}
|
||||
Test
|
||||
\end{document}
|
||||
@ -0,0 +1,28 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
let g:vimtex_cache_root = '.'
|
||||
let g:vimtex_cache_persistent = 0
|
||||
|
||||
|
||||
" Uses s:files_manual() since there is no bcf file
|
||||
silent edit test_globbed_star.tex
|
||||
let s:candidates = vimtex#test#completion('\cite{', '')
|
||||
call assert_equal(3, len(s:candidates))
|
||||
bwipeout!
|
||||
|
||||
|
||||
" Uses bcf parser
|
||||
call writefile(
|
||||
\ ['<bcf:datasource type="file" datatype="bibtex">test_gl*.bib</bcf:datasource>'],
|
||||
\ 'test_globbed_star.bcf')
|
||||
silent edit test_globbed_star.tex
|
||||
let s:candidates = vimtex#test#completion('\cite{', '')
|
||||
call assert_equal(3, len(s:candidates))
|
||||
call delete('test_globbed_star.bcf')
|
||||
|
||||
|
||||
call vimtex#test#finished()
|
||||
@ -0,0 +1,6 @@
|
||||
\documentclass{article}
|
||||
\usepackage{biblatex}
|
||||
\addbibresource{test_gl?bbed.bib}
|
||||
\begin{document}
|
||||
Test
|
||||
\end{document}
|
||||
@ -0,0 +1,28 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
let g:vimtex_cache_root = '.'
|
||||
let g:vimtex_cache_persistent = 0
|
||||
|
||||
|
||||
" Uses s:files_manual() since there is no bcf file
|
||||
silent edit test_globbed_wildcard.tex
|
||||
let s:candidates = vimtex#test#completion('\cite{', '')
|
||||
call assert_equal(1, len(s:candidates))
|
||||
bwipeout!
|
||||
|
||||
|
||||
" Uses bcf parser
|
||||
call writefile(
|
||||
\ ['<bcf:datasource type="file" datatype="bibtex">test_gl?bbed.bib</bcf:datasource>'],
|
||||
\ 'test_globbed_wildcard.bcf')
|
||||
silent edit test_globbed_wildcard.tex
|
||||
let s:candidates = vimtex#test#completion('\cite{', '')
|
||||
call assert_equal(1, len(s:candidates))
|
||||
call delete('test_globbed_wildcard.bcf')
|
||||
|
||||
|
||||
call vimtex#test#finished()
|
||||
@ -0,0 +1,7 @@
|
||||
@book{Saussure1995,
|
||||
Author = {Ferdinand de Saussure},
|
||||
Origyear = {1916},
|
||||
Publisher = {Payot},
|
||||
Title = {Cours de Linguistique G{\'e}n{\'e}rale},
|
||||
Year = {1995}
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
\documentclass{article}
|
||||
\usepackage{natbib}
|
||||
\usepackage{bibentry}
|
||||
|
||||
% This is the sample bib file
|
||||
\begin{filecontents}{\jobname.bib}
|
||||
@book{Saussure1995,
|
||||
Author = {Ferdinand de Saussure},
|
||||
Origyear = {1916},
|
||||
Publisher = {Payot},
|
||||
Title = {Cours de Linguistique G{\'e}n{\'e}rale},
|
||||
Year = {1995}
|
||||
}
|
||||
\end{filecontents}
|
||||
|
||||
\begin{document}
|
||||
|
||||
This is a complete citation in the middle of the text: \cite{Saussure1995}.
|
||||
|
||||
% \bibentry{
|
||||
|
||||
\bibliographystyle{apalike}
|
||||
\bibliography{\jobname}
|
||||
|
||||
\end{document}
|
||||
@ -0,0 +1,18 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
let g:vimtex_cache_root = '.'
|
||||
let g:vimtex_cache_persistent = 0
|
||||
|
||||
silent edit test_jobname.tex
|
||||
|
||||
if empty($INMAKE) | finish | endif
|
||||
|
||||
let s:candidates = vimtex#test#completion('\bibentry{', '')
|
||||
call assert_equal(len(s:candidates), 1)
|
||||
|
||||
|
||||
call vimtex#test#finished()
|
||||
@ -0,0 +1,12 @@
|
||||
@article{mueller-2019-csra,
|
||||
title = {A new role for {CsrA}: promotion of complex formation between an
|
||||
sRNA and its mRNA target in Bacillus subtilis},
|
||||
author = {M{\"u}ller, Peter and Gimpel, Matthias and Wildenhain, Theresa
|
||||
and Brantl, Sabine},
|
||||
journal = {RNA biology},
|
||||
volume = {16},
|
||||
number = {7},
|
||||
pages = {972--987},
|
||||
year = {2019},
|
||||
publisher = {Taylor \& Francis}
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
\documentclass{article}
|
||||
\usepackage[backend=biber]{biblatex}
|
||||
\addbibresource{test_matchstr.bib}
|
||||
\addbibresource{biblatex-examples.bib}
|
||||
|
||||
\begin{document}
|
||||
Test \cite{gaonkar}
|
||||
|
||||
\cite{Gimp
|
||||
\end{document}
|
||||
@ -0,0 +1,23 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
let g:vimtex_cache_root = '.'
|
||||
let g:vimtex_cache_persistent = 0
|
||||
let g:vimtex_parser_bib_backend = 'bibtex'
|
||||
let g:vimtex_complete_bib = {'match_str_fmt': '@key @author_all @year "@title"'}
|
||||
|
||||
silent edit test_matchstr.tex
|
||||
|
||||
if empty($INMAKE) | finish | endif
|
||||
|
||||
call assert_true(len(vimtex#test#completion('\cite{', '')) > 1)
|
||||
call assert_equal(1, len(vimtex#test#completion('\cite{', 'Mü')))
|
||||
call assert_equal(1, len(vimtex#test#completion('\cite{', 'muell')))
|
||||
call assert_equal(1, len(vimtex#test#completion('\cite{', 'M.*2019')))
|
||||
call assert_equal(1, len(vimtex#test#completion('\cite{', 'mu.*Gimp')))
|
||||
call assert_equal(1, len(vimtex#test#completion('\cite{', 'CsrA')))
|
||||
|
||||
call vimtex#test#finished()
|
||||
@ -0,0 +1,7 @@
|
||||
\documentclass{article}
|
||||
\usepackage[backend=biber,style=authoryear]{biblatex}
|
||||
\addbibresource{biblatex-examples.bib}
|
||||
|
||||
\begin{document}
|
||||
Test
|
||||
\end{document}
|
||||
@ -0,0 +1,19 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
let g:vimtex_cache_root = '.'
|
||||
let g:vimtex_cache_persistent = 0
|
||||
|
||||
silent edit test_multicite.tex
|
||||
|
||||
if empty($INMAKE) | finish | endif
|
||||
|
||||
let s:candidates = vimtex#test#completion(
|
||||
\ '\cites(multipre)(multipost)[pre][post]{knuth1981}[pre][post]{',
|
||||
\ '')
|
||||
call assert_true(len(s:candidates) > 0)
|
||||
|
||||
call vimtex#test#finished()
|
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,7 @@
|
||||
\documentclass{article}
|
||||
\usepackage[backend=biber]{biblatex}
|
||||
\addbibresource{biblatex-examples.bib}
|
||||
|
||||
\begin{document}
|
||||
Test \cite{gaonkar}
|
||||
\end{document}
|
||||
@ -0,0 +1,17 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
let g:vimtex_cache_root = '.'
|
||||
let g:vimtex_cache_persistent = 0
|
||||
|
||||
silent edit test_parser_bcf.tex
|
||||
|
||||
if empty($INMAKE) | finish | endif
|
||||
|
||||
let s:candidates = vimtex#test#completion('\cite{', '')
|
||||
call assert_true(len(s:candidates) > 0)
|
||||
|
||||
call vimtex#test#finished()
|
||||
@ -0,0 +1,65 @@
|
||||
This is BibTeX, Version 0.99d (TeX Live 2020/Arch Linux)
|
||||
Capacity: max_strings=100000, hash_size=100000, hash_prime=85009
|
||||
The top-level auxiliary file: test_parser_blg.aux
|
||||
The style file: biblatex.bst
|
||||
Reallocated glb_str_ptr (elt_size=8) to 20 items from 10.
|
||||
Reallocated global_strs (elt_size=20001) to 20 items from 10.
|
||||
Reallocated glb_str_end (elt_size=8) to 20 items from 10.
|
||||
Reallocated singl_function (elt_size=8) to 100 items from 50.
|
||||
Reallocated singl_function (elt_size=8) to 100 items from 50.
|
||||
Reallocated singl_function (elt_size=8) to 100 items from 50.
|
||||
Reallocated wiz_functions (elt_size=8) to 6000 items from 3000.
|
||||
Reallocated singl_function (elt_size=8) to 100 items from 50.
|
||||
Reallocated singl_function (elt_size=8) to 100 items from 50.
|
||||
Reallocated singl_function (elt_size=8) to 100 items from 50.
|
||||
Reallocated singl_function (elt_size=8) to 100 items from 50.
|
||||
Reallocated singl_function (elt_size=8) to 100 items from 50.
|
||||
Reallocated singl_function (elt_size=8) to 100 items from 50.
|
||||
Reallocated singl_function (elt_size=8) to 100 items from 50.
|
||||
Reallocated singl_function (elt_size=8) to 100 items from 50.
|
||||
Database file #1: test_parser_blg-blx.bib
|
||||
Database file #2: biblatex-examples.bib
|
||||
Biblatex version: 3.13
|
||||
Reallocated wiz_functions (elt_size=8) to 9000 items from 6000.
|
||||
Reallocated singl_function (elt_size=8) to 100 items from 50.
|
||||
You've used 1 entry,
|
||||
6365 wiz_defined-function locations,
|
||||
1209 strings with 9130 characters,
|
||||
and the built_in function-call counts, 1529 in all, are:
|
||||
= -- 72
|
||||
> -- 70
|
||||
< -- 1
|
||||
+ -- 49
|
||||
- -- 28
|
||||
* -- 31
|
||||
:= -- 368
|
||||
add.period$ -- 0
|
||||
call.type$ -- 1
|
||||
change.case$ -- 0
|
||||
chr.to.int$ -- 42
|
||||
cite$ -- 0
|
||||
duplicate$ -- 11
|
||||
empty$ -- 103
|
||||
format.name$ -- 0
|
||||
if$ -- 329
|
||||
int.to.chr$ -- 0
|
||||
int.to.str$ -- 0
|
||||
missing$ -- 0
|
||||
newline$ -- 20
|
||||
num.names$ -- 0
|
||||
pop$ -- 47
|
||||
preamble$ -- 1
|
||||
purify$ -- 0
|
||||
quote$ -- 0
|
||||
skip$ -- 77
|
||||
stack$ -- 0
|
||||
substring$ -- 151
|
||||
swap$ -- 1
|
||||
text.length$ -- 20
|
||||
text.prefix$ -- 0
|
||||
top$ -- 1
|
||||
type$ -- 22
|
||||
warning$ -- 0
|
||||
while$ -- 64
|
||||
width$ -- 0
|
||||
write$ -- 20
|
||||
@ -0,0 +1,7 @@
|
||||
\documentclass{article}
|
||||
\usepackage[backend=bibtex]{biblatex}
|
||||
\addbibresource{biblatex-examples.bib}
|
||||
|
||||
\begin{document}
|
||||
Test
|
||||
\end{document}
|
||||
@ -0,0 +1,17 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
let g:vimtex_cache_root = '.'
|
||||
let g:vimtex_cache_persistent = 0
|
||||
|
||||
silent edit test_parser_blg.tex
|
||||
|
||||
if empty($INMAKE) | finish | endif
|
||||
|
||||
let s:candidates = vimtex#test#completion('\cite{', '')
|
||||
call assert_true(len(s:candidates) > 0)
|
||||
|
||||
call vimtex#test#finished()
|
||||
@ -0,0 +1,7 @@
|
||||
\documentclass{article}
|
||||
\usepackage[backend=biber,style=authoryear]{biblatex}
|
||||
\addbibresource{biblatex-examples.bib}
|
||||
|
||||
\begin{document}
|
||||
Test
|
||||
\end{document}
|
||||
@ -0,0 +1,18 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
let g:vimtex_cache_root = '.'
|
||||
let g:vimtex_cache_persistent = 0
|
||||
|
||||
silent edit test_starred.tex
|
||||
|
||||
if empty($INMAKE) | finish | endif
|
||||
|
||||
let s:candidates = vimtex#test#completion('\cite*{', '')
|
||||
call assert_true(len(s:candidates) > 0)
|
||||
|
||||
|
||||
call vimtex#test#finished()
|
||||
Reference in New Issue
Block a user