Remove g:vimtex_quickfix_fix_paths
The option will now always be activated, as there seems to be no reason not to keep it activated.
This commit is contained in:
parent
b05ab1427e
commit
12a0f00603
@ -21,7 +21,6 @@ function! vimtex#latexmk#init_options() " {{{1
|
|||||||
call vimtex#util#set_default('g:vimtex_quickfix_ignored_warnings', [])
|
call vimtex#util#set_default('g:vimtex_quickfix_ignored_warnings', [])
|
||||||
call vimtex#util#set_default('g:vimtex_quickfix_mode', '2')
|
call vimtex#util#set_default('g:vimtex_quickfix_mode', '2')
|
||||||
call vimtex#util#set_default('g:vimtex_quickfix_open_on_warning', '1')
|
call vimtex#util#set_default('g:vimtex_quickfix_open_on_warning', '1')
|
||||||
call vimtex#util#set_default('g:vimtex_quickfix_fix_paths', '0')
|
|
||||||
|
|
||||||
if exists('g:vimtex_latexmk_callback_hook')
|
if exists('g:vimtex_latexmk_callback_hook')
|
||||||
echoerr 'Deprecated option: g:vimtex_latexmk_callback_hook!'
|
echoerr 'Deprecated option: g:vimtex_latexmk_callback_hook!'
|
||||||
@ -46,12 +45,10 @@ function! vimtex#latexmk#init_script() " {{{1
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" Add autocommand to fix paths in quickfix
|
" Add autocommand to fix paths in quickfix
|
||||||
if g:vimtex_quickfix_fix_paths
|
augroup vimtex_latexmk_fix_dirs
|
||||||
augroup vimtex_latexmk_fix_dirs
|
au!
|
||||||
au!
|
au QuickFixCmdPost c*file call s:fix_quickfix_paths()
|
||||||
au QuickFixCmdPost c*file call s:fix_quickfix_paths()
|
augroup END
|
||||||
augroup END
|
|
||||||
endif
|
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" }}}1
|
" }}}1
|
||||||
|
@ -721,19 +721,6 @@ Options~
|
|||||||
|
|
||||||
Default value: 0
|
Default value: 0
|
||||||
|
|
||||||
*g:vimtex_quickfix_fix_paths*
|
|
||||||
Some users do not like to use |autochdir|. The file names in LaTeX error
|
|
||||||
messages are relative, thus the current working directory is important. If
|
|
||||||
this option is enabled, then the paths for the quickfix entries are fixed so
|
|
||||||
that they should work with |noautochdir|.
|
|
||||||
|
|
||||||
Note: This option uses a |QuickFixCmdPost| autocommand in order to update
|
|
||||||
the quickfix list through |setqflist|. Thus, the option may have side
|
|
||||||
effects if one edits other file types in the same Vim instance. The
|
|
||||||
option is therefore disabled by default.
|
|
||||||
|
|
||||||
Default value: 0
|
|
||||||
|
|
||||||
*g:vimtex_quickfix_ignore_all_warnings*
|
*g:vimtex_quickfix_ignore_all_warnings*
|
||||||
This option controls whether or not LaTeX warnings should be included in the
|
This option controls whether or not LaTeX warnings should be included in the
|
||||||
|quickfix| window. LaTeX errors will always be included.
|
|quickfix| window. LaTeX errors will always be included.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user