Mercurial > vim
comparison runtime/compiler/tex.vim @ 25773:11b656e74444
Update runtime files
Commit: https://github.com/vim/vim/commit/6c391a74fe90190796ca0b0c010112948a6e75d7
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 9 21:55:11 2021 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 09 Sep 2021 22:00:10 +0200 |
parents | d1e4abe8342c |
children | 2c3f939d46bf |
comparison
equal
deleted
inserted
replaced
25772:55753c17b73d | 25773:11b656e74444 |
---|---|
16 " If makefile exists and we are not asked to ignore it, we use standard make | 16 " If makefile exists and we are not asked to ignore it, we use standard make |
17 " (do not redefine makeprg) | 17 " (do not redefine makeprg) |
18 if exists('b:tex_ignore_makefile') || exists('g:tex_ignore_makefile') || | 18 if exists('b:tex_ignore_makefile') || exists('g:tex_ignore_makefile') || |
19 \(!filereadable('Makefile') && !filereadable('makefile')) | 19 \(!filereadable('Makefile') && !filereadable('makefile')) |
20 " If buffer-local variable 'tex_flavor' exists, it defines TeX flavor, | 20 " If buffer-local variable 'tex_flavor' exists, it defines TeX flavor, |
21 " otherwize the same for global variable with same name, else it will be | 21 " otherwise the same for global variable with same name, else it will be |
22 " LaTeX | 22 " LaTeX |
23 if exists("b:tex_flavor") | 23 if exists("b:tex_flavor") |
24 let current_compiler = b:tex_flavor | 24 let current_compiler = b:tex_flavor |
25 elseif exists("g:tex_flavor") | 25 elseif exists("g:tex_flavor") |
26 let current_compiler = g:tex_flavor | 26 let current_compiler = g:tex_flavor |