I can\'t seem to get inline Javascript indenting properly in Vim. Consider the following:
$(document).ready(function() { // Closing brace correctly inde
The scripts mentioned above do not format the closure-syntax often used in jQuery correctly:
$(function() { // only one level of indentation, not two });
This script works better for me: http://www.vim.org/scripts/script.php?script_id=2765