codekingpro/portable-devtools
114k
1" Vim syntax file2" Language: bin using xxd3" Maintainer: This runtime file is looking for a new maintainer.4" Former Maintainer: Charles E. Campbell5" Last Change: Aug 31, 20166" Version: 117" 2024 Feb 19 by Vim Project (announce adoption)8" Notes: use :help xxd to see how to invoke it9" Former URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_XXD10 11" quit when a syntax file was already loaded12if exists("b:current_syntax")13 finish14endif15 16syn match xxdAddress "^[0-9a-f]\+:" contains=xxdSep17syn match xxdSep contained ":"18syn match xxdAscii " .\{,16\}\r\=$"hs=s+2 contains=xxdDot19syn match xxdDot contained "[.\r]"20 21" Define the default highlighting.22if !exists("skip_xxd_syntax_inits")23 24 hi def link xxdAddress Constant25 hi def link xxdSep Identifier26 hi def link xxdAscii Statement27 28endif29 30let b:current_syntax = "xxd"31 32" vim: ts=433 