Add some new links between syntax and highlight

Some new links have been added or changed in order to beautify the Ruby
syntax.
This commit is contained in:
Ludovic Koenig
2019-09-27 13:23:33 +02:00
parent 9da8e7e007
commit 475aa00187
2 changed files with 29 additions and 10 deletions
+11
View File
@@ -0,0 +1,11 @@
" Maintainer: Ludovic Koenig <ludovic.koenig@gmail.com>
" Version: 0.6.0
" Since: 0.6.0
" License: MIT
"
" Ruby Syntax {{{
syntax keyword rubyOdysseyNil nil
" }}}
" vim: foldmethod=marker
+18 -10
View File
@@ -314,22 +314,30 @@ let g:python_no_builtin_highlight = 1
" }}}
" Ruby Highlights {{{
call s:l( 'rubyClass', 'Statement')
call s:h( 'rubyClassVariable', 'background', 'warning', 'italic')
call s:l( 'rubyDefine', 'Statement')
call s:l( 'rubyInclude', 'Statement')
call s:h( 'rubyInstanceVariable', 'background', 'warning', 'italic')
call s:l('rubyInterpolationDelimiter', 'Function')
call s:l( 'rubyStringDelimiter', 'Function')
call s:l( 'rubyAccess', 'Statement')
call s:l( 'rubyAttribute', 'Statement')
call s:l( 'rubyPseudoVariable', 'Special')
call s:l( 'rubyClass', 'Statement')
call s:h( 'rubyClassVariable', 'background', 'warning', 'italic')
call s:l( 'rubyDefine', 'Statement')
call s:l( 'rubyInclude', 'Statement')
call s:h( 'rubyInstanceVariable', 'background', 'warning', 'italic')
call s:l('rubyInterpolationDelimiter', 'Function')
call s:l( 'rubyStringDelimiter', 'Normal')
call s:l( 'rubyAccess', 'Statement')
call s:l( 'rubyAttribute', 'Statement')
call s:l( 'rubyPseudoVariable', 'Special')
call s:l( 'rubySymbol', 'rubyConstant')
call s:h( 'rubyBlockParameter', 'background', 'procedure', 'italic')
call s:l( 'rubyOdysseyNil', 'Normal')
call s:l( 'rubyBoolean', 'Normal')
call s:l( 'rubyFloat', 'Normal')
call s:l( 'rubyInteger', 'Normal')
" }}}
" Rust Highlights {{{
call s:l( 'rustLifetime', 'Constant')
call s:l( 'rustQuestionMark', 'Operator')
call s:l('rustOdysseyFunction', 'Function')
call s:l( 'rustOdysseyType', 'Type')
" }}}
" vim: foldmethod=marker