1
0
forked from aniani/vim

updated for version 7.3.213

Problem:    Javascript object literal is not indented correctly.
Solution:   Make a special case for when "J1" is in 'cino'. (Luc Deschenaux)
This commit is contained in:
Bram Moolenaar
2011-06-12 21:51:08 +02:00
parent 456f2bb24f
commit 6ec154b57d
4 changed files with 43 additions and 2 deletions

View File

@@ -6965,7 +6965,7 @@ get_c_indent()
* ldfd) {
* }
*/
if ((ind_keep_case_label
if (ind_js || (ind_keep_case_label
&& cin_iscase(skipwhite(ml_get_curline()), FALSE)))
amount = get_indent();
else