home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / mac / vim55rt.sit / runtime / syntax / xxd.vim < prev    next >
Encoding:
Text File  |  1999-09-25  |  667 b   |  27 lines  |  [TEXT/VIM!]

  1. " Vim syntax file
  2. " Language   : bin using xxd
  3. " Version    : 5.4-3
  4. " Maintainer : Dr. Charles E. Campbell, Jr. <Charles.Campbell@gsfc.nasa.gov>
  5. " Last change: March 19, 1999
  6. "  Notes: use :help xxd   to see how to invoke it
  7.  
  8. " Removes any old syntax stuff hanging around
  9. syn clear
  10.  
  11. syn match xxdAddress            "^[0-9a-f]\+:"        contains=xxdSep
  12. syn match xxdSep    contained    ":"
  13. syn match xxdAscii                "  .\{,16\}\r\=$"hs=s+2    contains=xxdDot
  14. syn match xxdDot    contained    "[.\r]"
  15.  
  16. if !exists("did_xxd_syntax_inits")
  17.  let did_xxd_syntax_inits = 1
  18.  
  19.  hi link xxdAddress    Constant
  20.  hi link xxdSep        Identifier
  21.  hi link xxdAscii    Statement
  22. endif
  23.  
  24. let b:current_syntax = "xxd"
  25.  
  26. " vim: ts=4
  27.