Selaa lähdekoodia

Improve ]]/[[ movement

Junegunn Choi 11 vuotta sitten
vanhempi
sitoutus
60bda7322f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      plug.vim

+ 1 - 1
plug.vim

@@ -1415,7 +1415,7 @@ function! s:preview_commit()
 endfunction
 
 function! s:section(flags)
-  call search('\(^- \)\@<=.', a:flags)
+  call search('\(^[x-] \)\@<=[^:]\+:', a:flags)
 endfunction
 
 function! s:diff()