Skip to content

Instantly share code, notes, and snippets.

@miguelrgonzalez
Created March 6, 2012 10:13
Show Gist options
  • Save miguelrgonzalez/1985500 to your computer and use it in GitHub Desktop.
Save miguelrgonzalez/1985500 to your computer and use it in GitHub Desktop.
Vim syntax file for Play configuration files
" Vim syntax file
" Language: Play framework configure file
" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
finish
endif
syn match confEnvironment /^%\w\+\./
syn match confValue /=.\+$/
syn match confComment "^#.*"
hi def link confComment Comment
hi def link confEnvironment Typedef
hi def link confValue Constant
let b:current_syntax = "conf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment