diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2014-03-01 00:15:51 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2014-03-01 00:15:51 +0100 |
commit | 9b3b092d15503ed70ea4bf60c4e1345b196c3677 (patch) | |
tree | 45fdb6e08c380ab8bfe0988c66b15ab014688a55 /ftplugin/latex-box/common.vim | |
parent | 959a2ffa3ddf3a716b37e15d0034546236a97957 (diff) | |
download | vim-polyglot-9b3b092d15503ed70ea4bf60c4e1345b196c3677.tar.gz vim-polyglot-9b3b092d15503ed70ea4bf60c4e1345b196c3677.zip |
Update
Diffstat (limited to 'ftplugin/latex-box/common.vim')
-rw-r--r-- | ftplugin/latex-box/common.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftplugin/latex-box/common.vim b/ftplugin/latex-box/common.vim index e132e22b..72a6ef0f 100644 --- a/ftplugin/latex-box/common.vim +++ b/ftplugin/latex-box/common.vim @@ -102,7 +102,7 @@ function! LatexBox_GetMainTexFile() endfor " 3. scan current file for "\begin{document}" - if &filetype == 'tex' && search('\C\\begin\_\s*{document}', 'nw') != 0 + if &filetype == 'tex' && search('\m\C\\begin\_\s*{document}', 'nw') != 0 return expand('%:p') endif |