Hi,

I've improved the patch for handling JavaScript code indenting through
cindent. Now it is able to handle anonymous functions inside
parentheses etc. correctly. The diff from the latest changeset is
attached. This reverts the change made to 'cin_iscase' (addition of
argument 'strict'). Now the code checks directly for cindentoption
'J'.

Please review.

/harig

-- 
You received this message from the "vim_dev" 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

Attachment: jsindent2.diff
Description: Binary data

Raspunde prin e-mail lui