mirror of
				https://github.com/amix/vimrc
				synced 2025-10-31 06:33:35 +08:00 
			
		
		
		
	Updated plugins
This commit is contained in:
		| @ -57,6 +57,9 @@ au BufNewFile,BufRead [rR]outefile		call s:setf('ruby') | ||||
| " SimpleCov | ||||
| au BufNewFile,BufRead .simplecov		call s:setf('ruby') | ||||
|  | ||||
| " Sorbet RBI files | ||||
| au BufNewFile,BufRead *.rbi		        call s:setf('ruby') | ||||
|  | ||||
| " Thor | ||||
| au BufNewFile,BufRead [tT]horfile,*.thor	call s:setf('ruby') | ||||
|  | ||||
|  | ||||
| @ -91,7 +91,7 @@ if exists("ruby_operators") || exists("ruby_pseudo_operators") | ||||
|   syn match rubyBooleanOperator    "\%(\w\|[^\x00-\x7F]\)\@1<!!\|&&\|||" | ||||
|   syn match rubyRangeOperator	   "\.\.\.\=" | ||||
|   syn match rubyAssignmentOperator "=>\@!\|-=\|/=\|\*\*=\|\*=\|&&=\|&=\|||=\||=\|%=\|+=\|>>=\|<<=\|\^=" | ||||
|   syn match rubyAssignmentOperator "=>\@!" containedin=rubyBlockParameterList " TODO: this is inelegant | ||||
|   syn match rubyAssignmentOperator "=>\@!" contained containedin=rubyBlockParameterList " TODO: this is inelegant | ||||
|   syn match rubyEqualityOperator   "===\|==\|!=\|!\~\|=\~" | ||||
|  | ||||
|   syn region rubyBracketOperator matchgroup=rubyOperator start="\%(\%(\w\|[^\x00-\x7F]\)[?!]\=\|[]})]\)\@2<=\[" end="]" contains=ALLBUT,@rubyNotTop | ||||
| @ -192,7 +192,7 @@ SynFold ':' syn region rubySymbol matchgroup=rubySymbolDelimiter start="[]})\"': | ||||
|  | ||||
| syn match rubyCapitalizedMethod "\%(\%(^\|[^.]\)\.\s*\)\@<!\<\u\%(\w\|[^\x00-\x7F]\)*\>\%(\s*(\)\@=" | ||||
|  | ||||
| syn region rubyParentheses	  start="("				 end=")" contains=ALLBUT,@rubyNotTop containedin=rubyBlockParameterList | ||||
| syn region rubyParentheses	  start="("				 end=")" contains=ALLBUT,@rubyNotTop contained containedin=rubyBlockParameterList | ||||
| syn region rubyBlockParameterList start="\%(\%(\<do\>\|{\)\_s*\)\@32<=|" end="|" contains=ALLBUT,@rubyNotTop,@rubyProperOperator | ||||
|  | ||||
| if exists('ruby_global_variable_error') | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Amir
					Amir