diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-11-20 08:53:12 +0100 |
---|---|---|
committer | Christian Clason <ch.clason+github@icloud.com> | 2024-11-20 09:27:36 +0100 |
commit | fd57f39766c9f26da739214288f90be74223c3cd (patch) | |
tree | 42715107bb0ea79e489b809d57b01e857a60934a /runtime/compiler/tex.vim | |
parent | ac7e0ff32ff18be69e2469ff7fc66370be20a6e1 (diff) | |
download | rneovim-fd57f39766c9f26da739214288f90be74223c3cd.tar.gz rneovim-fd57f39766c9f26da739214288f90be74223c3cd.tar.bz2 rneovim-fd57f39766c9f26da739214288f90be74223c3cd.zip |
vim-patch:4927dae: runtime(compiler): fix escaping of arguments passed to :CompilerSet
See newly added help entry referring to option-backslash
closes: vim/vim#16084
https://github.com/vim/vim/commit/4927daef608d4bbcdce8a1098cdeeaed3112c849
Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
Diffstat (limited to 'runtime/compiler/tex.vim')
-rw-r--r-- | runtime/compiler/tex.vim | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/compiler/tex.vim b/runtime/compiler/tex.vim index 282b3a0588..bc1623729a 100644 --- a/runtime/compiler/tex.vim +++ b/runtime/compiler/tex.vim @@ -3,8 +3,9 @@ " Maintainer: Artem Chuprina <ran@ran.pp.ru> " Contributors: Enno Nagel " Last Change: 2024 Mar 29 -" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition) -" 2024 Apr 05 by The Vim Project (avoid leaving behind g:makeprg) +" 2024 Apr 03 by the Vim Project (removed :CompilerSet definition) +" 2024 Apr 05 by the Vim Project (avoid leaving behind g:makeprg) +" 2024 Nov 19 by the Vim Project (properly escape makeprg setting) if exists("current_compiler") finish @@ -27,7 +28,7 @@ if exists('b:tex_ignore_makefile') || exists('g:tex_ignore_makefile') || let current_compiler = "latex" endif let s:makeprg=current_compiler .. ' -interaction=nonstopmode' - execute 'CompilerSet makeprg=' .. escape(s:makeprg, ' ') + execute 'CompilerSet makeprg=' .. escape(s:makeprg, ' \|"') else let current_compiler = 'make' endif |