Skip to content

Instantly share code, notes, and snippets.

@deris
Created March 25, 2017 08:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deris/234a304bbc91f057781ad391747df29e to your computer and use it in GitHub Desktop.
Save deris/234a304bbc91f057781ad391747df29e to your computer and use it in GitHub Desktop.
if exists ("b:current_syntax")
finish
endif
syntax match duzzleField / / contained
syntax region DuzzleMap start=/\%^/ end=/^\ze\[.*\]/ contains=duzzleField
highlight duzzleFieldHi guibg=lightcyan ctermbg=lightcyan
hi def link duzzleField duzzleFieldHi
let b:current_syntax = "duzzle"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment