Permalink
Browse files

Merge branch 'unicode-constants' of https://github.com/amarshall/vim-…

…ruby into amarshall-unicode-constants

Conflicts:
	syntax/ruby.vim
  • Loading branch information...
2 parents 082e929 + ab7c7e4 commit f4c550e26483ce27b87440f27186dcb566a54a80 @dkearns dkearns committed Jul 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 syntax/ruby.vim
View
@@ -92,7 +92,7 @@ syn match rubyFloat "\%(\%(\w\|[]})\"']\s*\)\@<!-\)\=\<\%(0\|[1-9]\d*\%(_\d\+\)*
syn match rubyLocalVariableOrMethod "\<[_[:lower:]][_[:alnum:]]*[?!=]\=" contains=NONE display transparent
syn match rubyBlockArgument "&[_[:lower:]][_[:alnum:]]" contains=NONE display transparent
-syn match rubyConstant "\%(\%(^\|[^.]\)\.\s*\)\@<!\<\u\w*\>\%(\s*(\)\@!"
+syn match rubyConstant "\%(\%(^\|[^.]\)\.\s*\)\@<!\<\u\%(\w\|[^\x00-\x7F]\)*\>\%(\s*(\)\@!"
syn match rubyClassVariable "@@\%(\h\|[^\x00-\x7F]\)\%(\w\|[^\x00-\x7F]\)*" display
syn match rubyInstanceVariable "@\%(\h\|[^\x00-\x7F]\)\%(\w\|[^\x00-\x7F]\)*" display
syn match rubyGlobalVariable "$\%(\%(\h\|[^\x00-\x7F]\)\%(\w\|[^\x00-\x7F]\)*\|-.\)"

0 comments on commit f4c550e

Please sign in to comment.