We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 63fdf23 + 68290c3 commit 91fa38cCopy full SHA for 91fa38c
indent/javascript.vim
@@ -70,13 +70,13 @@ let s:ternary_q = '^\s\+?'
70
71
let s:case_indent = &sw
72
let s:case_indent_after = &sw
73
-let m = matchlist(&cinoptions, ':\(.\)')
74
-if (len(m) > 2)
75
- let s:case_indent = m[1]
+let s:m = matchlist(&cinoptions, ':\(.\)')
+if (len(s:m) > 2)
+ let s:case_indent = s:m[1]
76
endif
77
-let m = matchlist(&cinoptions, '=\(.\)')
78
79
- let s:case_indent_after = m[1]
+let s:m = matchlist(&cinoptions, '=\(.\)')
+ let s:case_indent_after = s:m[1]
80
81
" 2. Auxiliary Functions {{{1
82
" ======================
0 commit comments