Skip to content

Instantly share code, notes, and snippets.

@jonforums
Created August 26, 2010 15:13
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 jonforums/551569 to your computer and use it in GitHub Desktop.
Save jonforums/551569 to your computer and use it in GitHub Desktop.
diff --git a/syntax/ruby.vim b/syntax/ruby.vim
index ece2f4f..283f04e 100644
--- a/syntax/ruby.vim
+++ b/syntax/ruby.vim
@@ -253,7 +253,7 @@ endif
" Special Methods
if !exists("ruby_no_special_methods")
- syn keyword rubyAccess public protected private module_function
+ syn keyword rubyAccess public protected private module_function private_class_method
" attr is a common variable name
syn match rubyAttribute "\%(\%(^\|;\)\s*\)\@<=attr\>\(\s*[.=]\)\@!"
syn keyword rubyAttribute attr_accessor attr_reader attr_writer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment