Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…ruby into amarshall-unicode-constants

Conflicts:
	syntax/ruby.vim
  • Loading branch information...
commit f4c550e26483ce27b87440f27186dcb566a54a80 2 parents 082e929 + ab7c7e4
@dkearns dkearns authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  syntax/ruby.vim
View
2  syntax/ruby.vim
@@ -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]\)*\|-.\)"
Please sign in to comment.
Something went wrong with that request. Please try again.