Thursday, October 29, 2015

Re: Switching syntax highlighting

On Thu, Oct 29, 2015 at 11:24 PM, sycc <sycc90@mail.com> wrote:
> Nice, thanks a lot!
> Since I'm so new to all this I'm going to have to go through that script (as
> short as it may be) until I fully understand it... but I'm not complaining.
> Not to mention I didn't know I could set different syntaxes for the same
> buffer, that might really come in handy in the future.
>
> Once again, thanks!
>
> -- Sycc


Yeah, syntax/vim.vim itself includes the syntaxes for all interpreted
scripts compiled into this version of Vim, i.e. at most lua, mzscheme,
perl, python, ruby, tcl; and the perl syntax may in turn include the
syntax for pod: total 8 different syntaxes (including Vim syntax
itself) for, let's say, your vimrc, if you edit it in a Vim with all
possible scripts compiled-in.

Best regards,
Tony.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: