Skip to content

Instantly share code, notes, and snippets.

@znz
Created February 14, 2013 07:34
Show Gist options
  • Save znz/4951170 to your computer and use it in GitHub Desktop.
Save znz/4951170 to your computer and use it in GitHub Desktop.
/usr/share/vim/vim73/syntax/ruby.vim の include とか extend とかの色付けを参考にして prepend にも色付けする設定をしてみた。
au BufNewFileBufRead *.rb syn keyword rubyInclude prepend
au BufNewFileBufRead *.rb syn match rubyKeywordAsMethod "\%(\%(\.\@<!\.\)\|::\)\_s*\%(prepend\)\>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment