> Let me take this opportunity to try once again to drum up support > for an idea that I have proposed before. IMO it is too restrictive to > make options (such as syntax highlighting, 'textwidth', and > indent-related options) apply to a whole file. There should be a > convenient, consistent way to tell vim to treat different sections of a > file as having different file types. Examples: > > * code snippets in an e-mail > * PHP in an HTML file (or vice-versa) > * perl/python/ruby inside a vim script > * comments, text, and math inside LaTeX/plain TeX/conTeXt > > --Benji Fisher
Something like Textmate's scope selectors? http://macromates.com/textmate/manual/scope_selectors I'm not a Mac user, just read about it. Andy ___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de