Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use vimtex#util#trim() instead of trim() for Vim versions < 8.1 #2121

Closed
wants to merge 1 commit into from
Closed

Conversation

Konfekt
Copy link
Contributor

@Konfekt Konfekt commented Jul 28, 2021

The two occurrences of trim() in

\ {_, i -> trim(getline(i))[0] == "@"})

and

if empty(trim(getline(a:lnum)))

are replaced by

function! vimtex#util#trim(str) abort " {{{1

for Vim versions < 8.1.

This creates dependencies outside of the bib file, but they have been there before anyway.

@lervag
Copy link
Owner

lervag commented Aug 1, 2021

Thanks!

lervag added a commit that referenced this pull request Aug 1, 2021
@lervag lervag closed this Aug 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants