Marco Hinz 12 лет назад
Родитель
Сommit
4533f7f7e4
2 измененных файлов с 7 добавлено и 5 удалено
  1. 6 5
      doc/startify.txt
  2. 1 0
      syntax/startify.vim

+ 6 - 5
doc/startify.txt

@@ -183,11 +183,12 @@ Open the startify buffer.
 You can overwrite the highlight groups used by startify. The plugins defines
 these groups:
 
-    startifyBracket         [,]
-    startifyNumber          the numbers between []
-    startifyPath            the path to a file
-    startifySlash           slashes in paths
-    startifySpecial         <empty buffer>,<quit>
+    StartifyBracket         [,]
+    StartifyFile            the actual file
+    StartifyNumber          the numbers between []
+    StartifyPath            the path to a file
+    StartifySlash           slashes in paths
+    StartifySpecial         <empty buffer>,<quit>
 
 Example: (my terminal emulator supports 256 colors)
 

+ 1 - 0
syntax/startify.vim

@@ -12,6 +12,7 @@ let s:sep = startify#get_sep()
 syntax  match  StartifySpecial  /\V<empty buffer>\|<quit>/
 syntax  match  StartifyBracket  /\[\|\]/
 syntax  match  StartifyNumber   /\v\[[eq[:digit:]]+\]/hs=s+1,he=e-1 contains=StartifyBracket
+syntax  match  StartifyFile     /.*/ contains=StartifyBracket,StartifyNumber,StartifyPath,StartifySpecial
 
 execute 'syntax match StartifySlash /\'. s:sep .'/'
 execute 'syntax match StartifyPath /\%9c.*\'. s:sep .'/ contains=StartifySlash'