Skip to content

Commit a385599

Browse files
committed
🐛 Fix typo
1 parent 0d2d6ca commit a385599

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

after/indent/javascript.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function! GetJsxIndent()
120120
endif
121121

122122
if getline(v:lnum) =~? s:starttag
123-
\&& getline(v:lnum) =~? '}' && getline(v:lnum) =~? '{'
123+
\&& !getline(v:lnum) =~? '}' && getline(v:lnum) =~? '{'
124124
let ind = ind + s:sw()
125125
endif
126126

0 commit comments

Comments
 (0)