On 25/10/08 04:09, Tim Johnson wrote: > Hello: > Using ver 7.1 on kubuntu 7.10 compiled as the "huge" version with > GTK2-GNOME. > I'm preparing to do a lot of mixed-syntax coding: > I.E. html files with a mixture of html, css and javascript. > The default plugin for vim handles this better than emacs, > IHMO, but I'm curious of there might be another plugin that > could be recommended. > Thanks > Tim
Vim knows that HTML pages may have embedded javascript and/or CSS (and e.g. that Vim scripts may have embedded Scheme, Perl, Python, Ruby and/or TCL) and highlights them according to their various syntax highlighting scripts (just check ":scriptnames" after editing an HTML page and/or a Vim script; you'll see what I mean). I wouldn't bother searching for additional scripts, but if you feel that CSS or Javascript isn't highlighted the way you like them, you are of course free to install other css.vim and/or javascript.vim scripts into ~/.vim/syntax/. Once thing you might try is to compile the latest Vim 7.2 for yourself (it isn't hard, see http://users.skynet.be/antoine.mechelynck/vim/compunix.htm ) and install the latest runtime files that go with it (by means of the rsync call mentioned on the same page). Best regards, Tony. -- Stop searching. Happiness is right next to you. Now, if they'd only take a bath ... --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
