Fixed minor issue (cf. #599)
This commit is contained in:
parent
55a5923869
commit
68e6e3b27a
@ -681,8 +681,7 @@ function! s:file_reaches_current(file) " {{{1
|
||||
|
||||
for l:line in readfile(a:file)
|
||||
let l:file = matchstr(l:line,
|
||||
\ '\v\\%(input|include|subimport\{[^\}]*\})\s*\{\zs'
|
||||
\ . '((.*)\/)?[a-zA-Z._-]+')
|
||||
\ '\v\\%(input|include|subimport\{[^\}]*\})\s*\{\zs\f+')
|
||||
if empty(l:file) | continue | endif
|
||||
|
||||
if l:file[0] !=# '/'
|
||||
|
Loading…
Reference in New Issue
Block a user