Skip to content

Commit 12a6f46

Browse files
authored
alpha short circuiting
1 parent 65e68f5 commit 12a6f46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indent/javascript.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function s:IsBlock(...)
124124
return char != '{'
125125
elseif syn =~? 'comment'
126126
return search('\/[/*]','bW') && s:IsBlock(l:ln)
127-
elseif char =~# '\l'
127+
elseif char =~# '\a'
128128
return index(split('return const let import export yield default delete var void typeof throw new in instanceof')
129129
\ , expand('<cword>')) < (0 + (line('.') != l:ln))
130130
elseif char == '>'

0 commit comments

Comments
 (0)