Created
August 26, 2010 15:13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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