startify.vim 818 B

12345678910111213141516171819202122232425
  1. " Plugin: https://github.com/mhinz/vim-startify
  2. " Description: Start screen displaying recently used stuff.
  3. " Maintainer: Marco Hinz <http://github.com/mhinz>
  4. " Version: 1.6
  5. if exists("b:current_syntax")
  6. finish
  7. endif
  8. let s:sep = startify#get_separator()
  9. syntax match StartifySpecial /\V<empty buffer>\|<quit>/
  10. syntax match StartifyBracket /\[\|\]/
  11. syntax match StartifyNumber /\[[^BSV]\+\]/hs=s+1,he=e-1 contains=StartifyBracket
  12. syntax match StartifyFile /.*/ contains=StartifyBracket,StartifyNumber,StartifyPath,StartifySpecial
  13. execute 'syntax match StartifySlash /\'. s:sep .'/'
  14. execute 'syntax match StartifyPath /\%9c.*\'. s:sep .'/ contains=StartifySlash'
  15. highlight link StartifyBracket Delimiter
  16. highlight link StartifyNumber Number
  17. let b:current_syntax = 'startify'
  18. " vim: et sw=2 sts=2