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,45 @@
set nocompatible
let &rtp = '../..,' . &rtp
filetype plugin on
set nomore
nnoremap q :qall!<cr>
silent edit glossaries.tex
if empty($INMAKE) | finish | endif
let s:candidates = vimtex#test#completion('\gls{', '')
call assert_equal(len(s:candidates), 7)
" Allow completion for custom keys (#1489)
let s:candidates = vimtex#test#completion('\Glsentrymaccusative{', '')
call assert_equal(len(s:candidates), 7)
" Allow acronym and extended gls syntax (#1582)
let s:candidates = vimtex#test#completion('\ac{', '')
call assert_equal(len(s:candidates), 7)
let s:candidates = vimtex#test#completion('\acr{', '')
call assert_equal(len(s:candidates), 7)
let s:candidates = vimtex#test#completion('\ACR{', '')
call assert_equal(len(s:candidates), 7)
let s:candidates = vimtex#test#completion('\cgls{', '')
call assert_equal(len(s:candidates), 7)
let s:candidates = vimtex#test#completion('\pgls{', '')
call assert_equal(len(s:candidates), 7)
let s:candidates = vimtex#test#completion('\dgls{', '')
call assert_equal(len(s:candidates), 7)
let s:candidates = vimtex#test#completion('\rgls{', '')
call assert_equal(len(s:candidates), 7)
let s:candidates = vimtex#test#completion('\glsname{', '')
call assert_equal(len(s:candidates), 7)
call vimtex#test#finished()