diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2015-01-23 21:09:23 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2015-01-23 21:09:23 +0100 |
commit | 6745c49110838db9ac39e85bbcf690b40bc20f83 (patch) | |
tree | 3b1c42f67bacb5ddb5b6afc5b4610f4c238877a7 /ftplugin/latex-box/findmain.vim | |
parent | 1a97304cf642e9f887122e162b1999768b60c9d7 (diff) | |
download | vim-polyglot-1.11.2.tar.gz vim-polyglot-1.11.2.zip |
Update all packagesv1.11.2
Diffstat (limited to 'ftplugin/latex-box/findmain.vim')
-rw-r--r-- | ftplugin/latex-box/findmain.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ftplugin/latex-box/findmain.vim b/ftplugin/latex-box/findmain.vim index 622c408f..b9871a61 100644 --- a/ftplugin/latex-box/findmain.vim +++ b/ftplugin/latex-box/findmain.vim @@ -30,7 +30,7 @@ function! LatexBox_GetMainFileName(...) " move up the directory tree until we find a .latexmain file. " TODO: Should we be doing this recursion by default, or should there be a " setting? - while glob('*.latexmain') == '' + while glob('*.latexmain',1) == '' let dirmodifier = dirmodifier.':h' let dirNew = fnameescape(expand(dirmodifier)) " break from the loop if we cannot go up any further. @@ -41,7 +41,7 @@ function! LatexBox_GetMainFileName(...) exe 'cd '.dirLast endwhile - let lheadfile = glob('*.latexmain') + let lheadfile = glob('*.latexmain',1) if lheadfile != '' " Remove the trailing .latexmain part of the filename... We never want " that. |