From 0104b6a628e58230d36b287f45e08657c0b27b4a Mon Sep 17 00:00:00 2001 From: Michael Welford Date: Sat, 18 Aug 2018 22:20:32 +0930 Subject: [PATCH] Tweak ruby syntax. --- autoload/airline/themes/falcon.vim | 2 +- colors/falcon.vim | 7 ++++++- estilo/syntax/ruby.yml | 8 +++++--- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/autoload/airline/themes/falcon.vim b/autoload/airline/themes/falcon.vim index 4245996..76e5dc3 100644 --- a/autoload/airline/themes/falcon.vim +++ b/autoload/airline/themes/falcon.vim @@ -4,7 +4,7 @@ " URL:https://github.com/fenetikm/falcon " Author: Michael Welford " License: MIT -" Last Change: 2018/08/18 22:12 +" Last Change: 2018/08/18 22:20 " ============================================================ let g:airline#themes#falcon#palette = {} diff --git a/colors/falcon.vim b/colors/falcon.vim index 429ff54..c2c4adf 100644 --- a/colors/falcon.vim +++ b/colors/falcon.vim @@ -4,7 +4,7 @@ " URL: https://github.com/fenetikm/falcon " Author: Michael Welford " License: MIT -" Last Change: 2018/08/18 22:12 +" Last Change: 2018/08/18 22:20 " =============================================================== set background=dark @@ -275,11 +275,16 @@ hi pythonExClass guifg=#ddcfbf ctermfg=187 guibg=NONE ctermbg=NONE gui=NONE cter hi pythonBuiltinObj guifg=#ffc552 ctermfg=221 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE hi pythonDot guifg=#ffc552 ctermfg=221 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE hi pythonBuiltinFunc guifg=#ddcfbf ctermfg=187 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE +hi rubyClass guifg=#dfdfe5 ctermfg=254 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE +hi link rubyClassName Normal +hi rubyModule guifg=#dfdfe5 ctermfg=254 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE +hi link rubyModuleName Normal hi rubyDefine guifg=#ffc552 ctermfg=221 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE hi rubyFunction guifg=#b4b4b9 ctermfg=249 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE hi link rubyConstant Constant hi rubyGlobalVariable guifg=#9f97cc ctermfg=140 guibg=NONE ctermbg=NONE gui=bold cterm=bold hi rubySymbol guifg=#99a4bc ctermfg=248 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE +hi rubyPseudoVariable guifg=#9f97cc ctermfg=140 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE hi link rubyArrayDelimiter Delimiter hi link rubyBlockParameterList Delimiter hi link rubyCurlyBlockDelimiter Delimiter diff --git a/estilo/syntax/ruby.yml b/estilo/syntax/ruby.yml index 486fb3c..50b3115 100644 --- a/estilo/syntax/ruby.yml +++ b/estilo/syntax/ruby.yml @@ -1,5 +1,7 @@ -rubyClass: '' # rubyDefine -rubyModule: '' # rubyDefine +rubyClass: 'light_gray' # rubyDefine +rubyClassName: '@Normal' +rubyModule: 'light_gray' # rubyDefine +rubyModuleName: '@Normal' rubyMethodExceptional: '' # rubyDefine rubyDefine: 'yellow' # Define rubyFunction: 'normal_gray' # Function @@ -32,7 +34,7 @@ rubyBeginEnd: '' # Statement rubyAccess: '' # Statement rubyAttribute: '' # Statement rubyEval: '' # Statement -rubyPseudoVariable: '' # Constant +rubyPseudoVariable: 'lavender' # Constant rubyComment: '' # Comment rubyData: '' # Comment rubyDataDirective: '' # Delimiter