Created
March 13, 2012 10:13
-
-
Save jnwhiteh/2027977 to your computer and use it in GitHub Desktop.
Add support for %! TEX root = foo.tex to LatexBox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 2a. scan current file for %! TEX root = foo.tex | |
let texfile = matchlist(getline(1), '%!TEX root = \(.*\)')[1] | |
if texfile != "" | |
return texfile | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment