summaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-06-12 21:51:08 +0200
committerBram Moolenaar <Bram@vim.org>2011-06-12 21:51:08 +0200
commit6ec154b57da547881297fd229fdb20b5aeec74a7 (patch)
treeeb5e22d97291a3dc25dc1c94d234af56058c4304 /src/misc1.c
parent456f2bb24f269a1f1ceb5ddedfb828ca33fc270b (diff)
downloadvim-git-6ec154b57da547881297fd229fdb20b5aeec74a7.tar.gz
updated for version 7.3.213v7.3.213
Problem: Javascript object literal is not indented correctly. Solution: Make a special case for when "J1" is in 'cino'. (Luc Deschenaux)
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 913da2ad7..d69f12fd2 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -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