From 6de8122905d0f148847b60a0311ebd0fb862dc28 Mon Sep 17 00:00:00 2001 From: Asbjorn Preuss <47496793+AsbjornPreuss@users.noreply.github.com> Date: Tue, 19 Nov 2024 21:11:51 +0100 Subject: [PATCH] fix Reverted changes of Commit 60c8a7f in relatino to Issue3044 Removed includeonly from g:vimtex_include_indicators defaults. --- autoload/vimtex/re.vim | 2 +- doc/vimtex.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/vimtex/re.vim b/autoload/vimtex/re.vim index aa07f08e54..4e395c9f55 100644 --- a/autoload/vimtex/re.vim +++ b/autoload/vimtex/re.vim @@ -11,7 +11,7 @@ let g:vimtex#re#tex_input_root = \ '\v^\c\s*\%\s*!?\s*tex\s+root\s*[=:]\s*\zs.*\ze\s*$' let g:vimtex#re#tex_input_latex = '\v\\%(' \ . join(get(g:, 'vimtex_include_indicators', - \ ['input', 'include', 'includeonly']), + \ ['input', 'include']), \ '|') \ . ')\s*\{' let g:vimtex#re#tex_input_import = '\v\\%(' diff --git a/doc/vimtex.txt b/doc/vimtex.txt index d085322867..9bf7baf2b3 100644 --- a/doc/vimtex.txt +++ b/doc/vimtex.txt @@ -2149,7 +2149,7 @@ OPTIONS *vimtex-options* Note: This option is read during initialization of VimTeX, and so it must be set early. I.e., it can not be set in `after/ftplugin/tex.vim`. - Default value: `['input', 'include', 'includeonly']` + Default value: `['input', 'include']` *g:vimtex_include_search_enabled* VimTeX sets 'includeexpr' to recognize included files. If a file isn't found