Hi, Although this vim question is not directly related with node, it is relevant.
http://groups.google.com/group/nodejs/browse_thread/thread/c5fe809d3cf9ca72 The above thread mentioned some vim plugins. I currently use https://github.com/othree/html5.vim/blob/master/indent/html.vim for indenting html files. But it can not correctly indent embedded javascript code. Does anybody know any plugin that can correctly indent javascript and css code in html file? <!DOCTYPE html> <html> <body> <canvas id="myCanvas" width="300" height="150" style="border:1px solid #d3d3d3;"> your browser does not support the canvas tag </canvas> <script type="text/javascript"> var c=document.getElementById("myCanvas"); var ctx=c.getContext("2d"); ctx.rect(10,15,200,75); ctx.clip(); ctx.fillStyle="lightblue"; ctx.fillRect(0,0,300,150) ctx.fillStyle="red"; ctx.font="30px Arial"; ctx.fillText("Hello world", 10,30); </script> </body> </html> -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en