> If you set the filetype to another type with a dot, vim will syntax
> highlight both types ex.:
> :set ft=php.html
>
> See :h 'ft'
Only, if the second syntax files is prepared for that kind of thing,
otherwise it won't load (as described in :h 'syntax') and you should
really use the 'syntax' option and not the 'ft' option, but this
depends on your specific needs.
There is however a workaround, that has been documented in the help
(with revision 887d6d91882e) for using embedded awk code within a
shell script. See :h sh-awk (works only with a recent enough version
of your runtime files).
regards,
Christian
--
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
No comments:
Post a Comment