Skip to content

Commit 419f0d6

Browse files
authored
accurate collection (#699)
1 parent b0f5629 commit 419f0d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indent/javascript.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ endfunction
7373

7474
" NOTE: moves the cursor
7575
function s:previous_token()
76-
return search('\<\|[^[:alnum:]_$[:space:]]','bW') ? s:token() : ''
76+
return search('\<\|[][`^!"%-/:-?{-~]','bW') ? s:token() : ''
7777
endfunction
7878

7979
function s:Trim(ln)

0 commit comments

Comments
 (0)