Jelajahi Sumber

Syntax: fix StartifyFooter regexp

Prior to this StartifyFooter would only reach up to the first * character. Now
we include any character including newlines. This effectively highlights
everything to the end of the buffer.

References #316
Marco Hinz 7 tahun lalu
induk
melakukan
4f296fe424
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      syntax/startify.vim

+ 1 - 1
syntax/startify.vim

@@ -31,7 +31,7 @@ execute 'syntax match StartifyPath /\%'. (len(s:padding_left) + 6) .'c.*\'. s:se
 execute 'syntax region StartifyHeader start=/\%1l/ end=/\%'. (len(g:startify_header) + 2) .'l/'
 
 if exists('g:startify_custom_footer')
-  execute 'syntax region StartifyFooter start=/\%'. startify#get_lastline() .'l/ end=/*/'
+  execute 'syntax region StartifyFooter start=/\%'. startify#get_lastline() .'l/ end=/\_.*/'
 endif
 
 if exists('b:startify.section_header_lines')