Skip to content

Commit 0ad39a9

Browse files
committed
Use \_s over \s|\n
\_s will also match \r\n and \r
1 parent 20798cf commit 0ad39a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

indent/clojure.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ if exists("*searchpairpos")
276276
return paren[1] + &shiftwidth - 1
277277
endif
278278

279-
call search('\v\s|\n', 'cW')
279+
call search('\v\_s', 'cW')
280280
call search('\v\S', 'W')
281281
if paren[0] < line(".")
282282
return paren[1] + &shiftwidth - 1

0 commit comments

Comments
 (0)