startify.vim 732 B

123456789101112131415161718192021222324
  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.4
  5. if exists("b:current_syntax")
  6. finish
  7. endif
  8. let s:sep = startify#get_sep()
  9. syntax match StartifySpecial /\V<empty buffer>\|<quit>/
  10. syntax match StartifyBracket /\[\|\]/
  11. syntax match StartifyNumber /\v\[[iq[:digit:]]+\]/hs=s+1,he=e-1 contains=StartifyBracket
  12. execute 'syntax match StartifySlash /\'. s:sep .'/'
  13. execute 'syntax match StartifyPath /\%9c.*\'. s:sep .'/ contains=StartifySlash'
  14. highlight link StartifyBracket Delimiter
  15. highlight link StartifyNumber Number
  16. let b:current_syntax = 'startify'
  17. " vim: et sw=2 sts=2