vim-monochrome

My fork of github.com/fxn/vim-monochrome
git clone https://git.sr.ht/~jbauer/vim-monochrome
Log | Files | Refs | README | LICENSE

commit 5df85985149b6e2f5a04b02ebb59f58bff7ffd00
parent def831aaea82b7b86bd594169cffbdcbccca202d
Author: Xavier Noria <fxn@hashref.com>
Date:   Fri,  3 Jan 2014 17:32:43 +0100

let Types stand out

The initial style for Type was influenced by Ruby. But editing C code wih no
highlighting for types does not feel right to me. Let's do it the other way
around, silence rubyConstant which are clear because they start with an upper
case letter and there are so many that they would become noisy, and highlight
types by default.

Let's see how it works for other languages.

Diffstat:
Mbin/generate.rb | 3++-
Mcolors/monochrome.vim | 3++-
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/bin/generate.rb b/bin/generate.rb @@ -107,13 +107,14 @@ hi :PreProc, fg: white, bold: true hi :String, fg: sblue hi :Comment, fg: cgray hi :Constant -hi :Type +hi :Type, fg: white, bold: true hi :Function, fg: white hi :Identifier hi :Special hi :MatchParen, fg: black, bg: lgray # Ruby tweaks. +hi :rubyConstant hi :rubySharpBang, fg: cgray hi :rubyStringDelimiter, fg: sblue hi :rubyStringEscape, fg: sblue diff --git a/colors/monochrome.vim b/colors/monochrome.vim @@ -28,11 +28,12 @@ hi PreProc guifg=White ctermfg=15 guibg=Black ctermbg=16 gui=bold cterm=bold ter hi String guifg=#778899 ctermfg=24 guibg=Black ctermbg=16 gui=NONE cterm=NONE term=NONE hi Comment guifg=#737373 ctermfg=243 guibg=Black ctermbg=16 gui=NONE cterm=NONE term=NONE hi Constant guifg=LightGray ctermfg=252 guibg=Black ctermbg=16 gui=NONE cterm=NONE term=NONE -hi Type guifg=LightGray ctermfg=252 guibg=Black ctermbg=16 gui=NONE cterm=NONE term=NONE +hi Type guifg=White ctermfg=15 guibg=Black ctermbg=16 gui=bold cterm=bold term=bold hi Function guifg=White ctermfg=15 guibg=Black ctermbg=16 gui=NONE cterm=NONE term=NONE hi Identifier guifg=LightGray ctermfg=252 guibg=Black ctermbg=16 gui=NONE cterm=NONE term=NONE hi Special guifg=LightGray ctermfg=252 guibg=Black ctermbg=16 gui=NONE cterm=NONE term=NONE hi MatchParen guifg=Black ctermfg=16 guibg=LightGray ctermbg=252 gui=NONE cterm=NONE term=NONE +hi rubyConstant guifg=LightGray ctermfg=252 guibg=Black ctermbg=16 gui=NONE cterm=NONE term=NONE hi rubySharpBang guifg=#737373 ctermfg=243 guibg=Black ctermbg=16 gui=NONE cterm=NONE term=NONE hi rubyStringDelimiter guifg=#778899 ctermfg=24 guibg=Black ctermbg=16 gui=NONE cterm=NONE term=NONE hi rubyStringEscape guifg=#778899 ctermfg=24 guibg=Black ctermbg=16 gui=NONE cterm=NONE term=NONE