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.
1 parent 9e2c10e commit 1d32e38Copy full SHA for 1d32e38
indent/javascript.vim
@@ -70,7 +70,7 @@ endif
70
let g:javascript_continuation .= s:line_term
71
72
function s:Onescope(lnum,text,add)
73
- return a:text =~ '\%(\<else\|\<do\|=>' . (a:add ? '\|try\|finally' : '' ) . '\)\C' . s:line_term ||
+ return a:text =~ '\%(\<else\|\<do\|=>' . (a:add ? '\|\<try\|\<finally' : '' ) . '\)\C' . s:line_term ||
74
\ (cursor(a:lnum, match(a:text, ')' . s:line_term)) > -1 &&
75
\ s:lookForParens('(', ')', 'cbW', 100) > 0 &&
76
\ search((a:add ? '\K\k*' :
0 commit comments