Skip to content
This repository was archived by the owner on Apr 27, 2018. It is now read-only.

Commit f4c550e

Browse files
committed
Merge branch 'unicode-constants' of https://github.com/amarshall/vim-ruby into amarshall-unicode-constants
Conflicts: syntax/ruby.vim
2 parents 082e929 + ab7c7e4 commit f4c550e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/ruby.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ syn match rubyFloat "\%(\%(\w\|[]})\"']\s*\)\@<!-\)\=\<\%(0\|[1-9]\d*\%(_\d\+\)*
9292
syn match rubyLocalVariableOrMethod "\<[_[:lower:]][_[:alnum:]]*[?!=]\=" contains=NONE display transparent
9393
syn match rubyBlockArgument "&[_[:lower:]][_[:alnum:]]" contains=NONE display transparent
9494

95-
syn match rubyConstant "\%(\%(^\|[^.]\)\.\s*\)\@<!\<\u\w*\>\%(\s*(\)\@!"
95+
syn match rubyConstant "\%(\%(^\|[^.]\)\.\s*\)\@<!\<\u\%(\w\|[^\x00-\x7F]\)*\>\%(\s*(\)\@!"
9696
syn match rubyClassVariable "@@\%(\h\|[^\x00-\x7F]\)\%(\w\|[^\x00-\x7F]\)*" display
9797
syn match rubyInstanceVariable "@\%(\h\|[^\x00-\x7F]\)\%(\w\|[^\x00-\x7F]\)*" display
9898
syn match rubyGlobalVariable "$\%(\%(\h\|[^\x00-\x7F]\)\%(\w\|[^\x00-\x7F]\)*\|-.\)"

0 commit comments

Comments
 (0)