mirror of
https://github.com/gryf/.vim.git
synced 2025-12-17 19:40:29 +01:00
Corrections in pylint command, update of lucius colorscheme
This commit is contained in:
@@ -23,7 +23,7 @@ ScriptID SourceID Filename
|
||||
3252 13948 :AutoInstall: L9
|
||||
### colors
|
||||
1975 7471 lettuce.vim
|
||||
2536 15100 lucius.vim
|
||||
2536 15158 lucius.vim
|
||||
1165 3741 tolerable.vim
|
||||
# compiler
|
||||
891 10365 pylint.vim
|
||||
|
||||
@@ -29,16 +29,16 @@ def parsable_pylint(filename):
|
||||
]
|
||||
|
||||
"""
|
||||
# args
|
||||
args = ['-rn', # display only the messages instead of full report
|
||||
'-iy', # Include message's id in output
|
||||
filename]
|
||||
# module args
|
||||
margs = ['-rn', # display only the messages instead of full report
|
||||
'-iy', # Include message's id in output
|
||||
filename]
|
||||
|
||||
buf = StringIO() # file-like buffer, instead of stdout
|
||||
reporter = TextReporter(buf)
|
||||
|
||||
sys.stderr = DUMMY_STDERR
|
||||
lint.Run(args, reporter=reporter, exit=False)
|
||||
lint.Run(margs, reporter=reporter, exit=False)
|
||||
sys.stderr = SYS_STDERR
|
||||
|
||||
# see, if we have other errors than 'No config found...' message
|
||||
@@ -58,25 +58,25 @@ def parsable_pylint(filename):
|
||||
carriage_re = re.compile(r'\s*\^+$')
|
||||
error_re = re.compile(r'^([C,R,W,E,F].+):\s+?([0-9]+):?.*:\s(.*)$')
|
||||
|
||||
for line in buf:
|
||||
line = line.rstrip() # remove trailing newline character
|
||||
for bufline in buf:
|
||||
bufline = bufline.rstrip() # remove trailing newline character
|
||||
|
||||
if error_re.match(line):
|
||||
if error_re.match(bufline):
|
||||
if code_line:
|
||||
error_list.append(code_line)
|
||||
code_line = {}
|
||||
|
||||
code_line['type'], code_line['lnum'], code_line['text'] = \
|
||||
error_re.match(line).groups()
|
||||
error_re.match(bufline).groups()
|
||||
|
||||
if carriage_re.match(line) and code_line:
|
||||
code_line['col'] = carriage_re.match(line).group().find('^') + 1
|
||||
if carriage_re.match(bufline) and code_line:
|
||||
code_line['col'] = carriage_re.match(bufline).group().find('^') + 1
|
||||
|
||||
return error_list
|
||||
|
||||
if __name__ == "__main__":
|
||||
parser = OptionParser("usage: %prog python_file")
|
||||
(options, args) = parser.parse_args()
|
||||
PARSER = OptionParser("usage: %prog python_file")
|
||||
(OPTIONS, args) = PARSER.parse_args()
|
||||
if len(args) == 1:
|
||||
for line in parsable_pylint(args[0]):
|
||||
line['short'] = line['type'][0]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
" Lucius vim color file
|
||||
" Maintainer: Jonathan Filip <jfilip1024@gmail.com>
|
||||
" Version: 5.03
|
||||
" Maintainer: Jonathan Filip <jfilip1024@gmail.com>
|
||||
" Version: 5.1
|
||||
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
@@ -9,147 +9,52 @@ endif
|
||||
let colors_name="lucius"
|
||||
|
||||
" TODO Need to add entry for conceal
|
||||
"
|
||||
|
||||
set background=dark
|
||||
if exists("g:lucius_style")
|
||||
let &background=g:lucius_style
|
||||
if g:lucius_style == "light"
|
||||
set background=light
|
||||
endif
|
||||
else
|
||||
let g:lucius_style="dark"
|
||||
endif
|
||||
|
||||
if &background == "dark"
|
||||
" {{{
|
||||
|
||||
" = Dark version =
|
||||
|
||||
" == Normal color ==
|
||||
if g:lucius_style == "dark"
|
||||
hi Normal guifg=#e0e0e0 guibg=#202020
|
||||
hi Normal ctermfg=253 ctermbg=234
|
||||
|
||||
|
||||
" == Comments ==
|
||||
hi Comment guifg=#606060 gui=none
|
||||
hi Comment ctermfg=240 cterm=none
|
||||
|
||||
|
||||
" == Constants ==
|
||||
" any constant
|
||||
hi Constant guifg=#70c0d8 gui=none
|
||||
hi Constant ctermfg=74 cterm=none
|
||||
hi ConstantBold guifg=#70c0d8 gui=bold
|
||||
hi ConstantBold ctermfg=74 cterm=bold
|
||||
" strings
|
||||
hi String guifg=#80c0d8 gui=none
|
||||
hi String ctermfg=110 cterm=none
|
||||
" character constant
|
||||
hi Character guifg=#80c0d8 gui=none
|
||||
hi Character ctermfg=110 cterm=none
|
||||
" numbers decimal/hex
|
||||
hi Number guifg=#70c0d8 gui=none
|
||||
hi Number ctermfg=74 cterm=none
|
||||
" true, false
|
||||
hi Boolean guifg=#70c0d8 gui=none
|
||||
hi Boolean ctermfg=74 cterm=none
|
||||
" float
|
||||
hi Float guifg=#70c0d8 gui=none
|
||||
hi Float ctermfg=74 cterm=none
|
||||
|
||||
|
||||
" == Identifiers ==
|
||||
" any variable name
|
||||
hi Identifier guifg=#86c6b6 gui=none
|
||||
hi Identifier ctermfg=116 cterm=none
|
||||
hi IdentifierBold guifg=#86c6b6 gui=bold
|
||||
hi IdentifierBold ctermfg=116 cterm=bold
|
||||
" function, method, class
|
||||
hi Function guifg=#86c6b6 gui=none
|
||||
hi Function ctermfg=116 cterm=none
|
||||
|
||||
|
||||
" == Statements ==
|
||||
" any statement
|
||||
hi Statement guifg=#b3d38c gui=none
|
||||
hi Statement ctermfg=150 cterm=none
|
||||
hi StatementBold guifg=#b3d38c gui=bold
|
||||
hi StatementBold ctermfg=150 cterm=bold
|
||||
" if, then, else
|
||||
hi Conditional guifg=#b3d38c gui=none
|
||||
hi Conditional ctermfg=150 cterm=none
|
||||
" try, catch, throw, raise
|
||||
hi Exception guifg=#b3d38c gui=none
|
||||
hi Exception ctermfg=150 cterm=none
|
||||
" for, while, do
|
||||
hi Repeat guifg=#b3d38c gui=none
|
||||
hi Repeat ctermfg=150 cterm=none
|
||||
" case, default
|
||||
hi Label guifg=#b3d38c gui=none
|
||||
hi Label ctermfg=150 cterm=none
|
||||
" sizeof, +, *
|
||||
hi Operator guifg=#b3d38c gui=none
|
||||
hi Operator ctermfg=150 cterm=none
|
||||
" any other keyword
|
||||
hi Keyword guifg=#b3d38c gui=none
|
||||
hi Keyword ctermfg=150 cterm=none
|
||||
|
||||
|
||||
" == Preprocessor ==
|
||||
" generic preprocessor
|
||||
hi PreProc guifg=#e0e8b0 gui=none
|
||||
hi PreProc ctermfg=187 cterm=none
|
||||
hi PreProcBold guifg=#e0e8b0 gui=bold
|
||||
hi PreProcBold ctermfg=187 cterm=bold
|
||||
" #include
|
||||
hi Include guifg=#e0e8b0 gui=none
|
||||
hi Include ctermfg=187 cterm=none
|
||||
" #define
|
||||
hi Define guifg=#e0e8b0 gui=none
|
||||
hi Define ctermfg=187 cterm=none
|
||||
" same as define
|
||||
hi Macro guifg=#e0e8b0 gui=none
|
||||
hi Macro ctermfg=187 cterm=none
|
||||
" #if, #else, #endif
|
||||
hi PreCondit guifg=#e0e8b0 gui=none
|
||||
hi PreCondit ctermfg=187 cterm=none
|
||||
|
||||
|
||||
" == Types ==
|
||||
" int, long, char
|
||||
hi Type guifg=#90d0a0 gui=none
|
||||
hi Type ctermfg=115 cterm=none
|
||||
hi TypeBold guifg=#90d0a0 gui=bold
|
||||
hi TypeBold ctermfg=115 cterm=bold
|
||||
" static, register, volative
|
||||
hi StorageClass guifg=#90d0a0 gui=none
|
||||
hi StorageClass ctermfg=115 cterm=none
|
||||
" struct, union, enum
|
||||
hi Structure guifg=#90d0a0 gui=none
|
||||
hi Structure ctermfg=115 cterm=none
|
||||
" typedef
|
||||
hi Typedef guifg=#90d0a0 gui=none
|
||||
hi Typedef ctermfg=115 cterm=none
|
||||
|
||||
|
||||
" == Special ==
|
||||
" any special symbol
|
||||
hi Special guifg=#b0a0c0 gui=none
|
||||
hi Special ctermfg=182 cterm=none
|
||||
hi SpecialBold guifg=#b0a0c0 gui=bold
|
||||
hi SpecialBold ctermfg=182 cterm=bold
|
||||
" special character in a constant
|
||||
hi SpecialChar guifg=#b0a0c0 gui=none
|
||||
hi SpecialChar ctermfg=182 cterm=none
|
||||
" things you can CTRL-]
|
||||
hi Tag guifg=#b0a0c0 gui=none
|
||||
hi Tag ctermfg=182 cterm=none
|
||||
" character that needs attention
|
||||
hi Delimiter guifg=#b0a0c0 gui=none
|
||||
hi Delimiter ctermfg=182 cterm=none
|
||||
" special things inside a comment
|
||||
hi SpecialComment guifg=#b0a0c0 gui=none
|
||||
hi SpecialComment ctermfg=182 cterm=none
|
||||
" debugging statements
|
||||
hi Debug guifg=#b0a0c0 guibg=NONE gui=none
|
||||
hi Debug ctermfg=182 ctermbg=NONE cterm=none
|
||||
|
||||
|
||||
" == Text Markup ==
|
||||
" text that stands out, html links
|
||||
@@ -174,13 +79,6 @@ if &background == "dark"
|
||||
hi Title guifg=#62bdde gui=none
|
||||
hi Title ctermfg=74 cterm=none
|
||||
|
||||
|
||||
" == Ignore ==
|
||||
" left blank, hidden
|
||||
hi Ignore guifg=bg
|
||||
hi Ignore ctermfg=bg
|
||||
|
||||
|
||||
" == Text Selection ==
|
||||
" character under the cursor
|
||||
hi Cursor guifg=bg guibg=#a3e3ed
|
||||
@@ -207,7 +105,6 @@ if &background == "dark"
|
||||
hi Search guibg=#ffaa33 gui=none
|
||||
hi Search ctermbg=214 cterm=none
|
||||
|
||||
|
||||
" == UI ==
|
||||
" normal item in popup
|
||||
hi Pmenu guifg=#e0e0e0 guibg=#303840 gui=none
|
||||
@@ -246,7 +143,6 @@ if &background == "dark"
|
||||
hi FoldColumn guifg=#c0c0d0 guibg=#363946 gui=none
|
||||
hi FoldColumn ctermfg=117 ctermbg=238 cterm=none
|
||||
|
||||
|
||||
" == Spelling ==
|
||||
" word not recognized
|
||||
hi SpellBad guisp=#ee0000 gui=undercurl
|
||||
@@ -261,7 +157,6 @@ if &background == "dark"
|
||||
hi SpellLocal guisp=#ffa500 gui=undercurl
|
||||
hi SpellLocal ctermbg=214 cterm=undercurl
|
||||
|
||||
|
||||
" == Diff ==
|
||||
" added line
|
||||
hi DiffAdd guifg=#80a090 guibg=#313c36 gui=none
|
||||
@@ -276,7 +171,6 @@ if &background == "dark"
|
||||
hi DiffText guifg=#f05060 guibg=#4a343a gui=bold
|
||||
hi DiffText ctermfg=203 ctermbg=52 cterm=bold
|
||||
|
||||
|
||||
" == Misc ==
|
||||
" directory names and other special names in listings
|
||||
hi Directory guifg=#c0e0b0 gui=none
|
||||
@@ -308,152 +202,56 @@ if &background == "dark"
|
||||
" color column highlighting
|
||||
hi ColorColumn guifg=NONE guibg=#403630 gui=none
|
||||
hi ColorColumn ctermfg=NONE ctermbg=95 cterm=none
|
||||
" left blank, hidden
|
||||
hi Ignore guifg=bg
|
||||
hi Ignore ctermfg=bg
|
||||
|
||||
" }}}
|
||||
elseif &background == 'light'
|
||||
" {{{
|
||||
|
||||
" = Light version =
|
||||
|
||||
" == Normal color ==
|
||||
hi Normal guifg=#000000 guibg=#fafafa
|
||||
elseif g:lucius_style == "light"
|
||||
hi Normal guifg=#000000 guibg=#ffffff
|
||||
hi Normal ctermfg=16 ctermbg=231
|
||||
|
||||
|
||||
" == Comments ==
|
||||
hi Comment guifg=#909090 gui=none
|
||||
hi Comment ctermfg=246 cterm=none
|
||||
|
||||
|
||||
" == Constants ==
|
||||
" any constant
|
||||
hi Constant guifg=#208000 gui=none
|
||||
hi Constant guifg=#008000 gui=none
|
||||
hi Constant ctermfg=28 cterm=none
|
||||
hi ConstantBold guifg=#208000 gui=bold
|
||||
hi ConstantBold guifg=#008000 gui=bold
|
||||
hi ConstantBold ctermfg=28 cterm=bold
|
||||
" strings
|
||||
hi String guifg=#208000 gui=none
|
||||
hi String ctermfg=28 cterm=none
|
||||
" character constant
|
||||
hi Character guifg=#208000 gui=none
|
||||
hi Character ctermfg=28 cterm=none
|
||||
" numbers decimal/hex
|
||||
hi Number guifg=#208000 gui=none
|
||||
hi Number ctermfg=28 cterm=none
|
||||
" true, false
|
||||
hi Boolean guifg=#208000 gui=none
|
||||
hi Boolean ctermfg=28 cterm=none
|
||||
" float
|
||||
hi Float guifg=#208000 gui=none
|
||||
hi Float ctermfg=28 cterm=none
|
||||
|
||||
hi Identifier guifg=#008898 gui=none
|
||||
hi Identifier ctermfg=30 cterm=none
|
||||
hi IdentifierBold guifg=#008898 gui=bold
|
||||
hi IdentifierBold ctermfg=30 cterm=bold
|
||||
|
||||
" == Identifiers ==
|
||||
" any variable name
|
||||
hi Identifier guifg=#008060 gui=none
|
||||
hi Identifier ctermfg=29 cterm=none
|
||||
hi IdentifierBold guifg=#008060 gui=bold
|
||||
hi IdentifierBold ctermfg=29 cterm=bold
|
||||
" function, method, class
|
||||
hi Function guifg=#008060 gui=none
|
||||
hi Function ctermfg=29 cterm=none
|
||||
|
||||
|
||||
" == Statements ==
|
||||
" any statement
|
||||
hi Statement guifg=#0050b0 gui=none
|
||||
hi Statement ctermfg=25 cterm=none
|
||||
hi Statement ctermfg=4 cterm=none
|
||||
hi StatementBold guifg=#0050b0 gui=bold
|
||||
hi StatementBold ctermfg=25 cterm=bold
|
||||
" if, then, else
|
||||
hi Conditional guifg=#0050b0 gui=none
|
||||
hi Conditional ctermfg=25 cterm=none
|
||||
" try, catch, throw, raise
|
||||
hi Exception guifg=#0050b0 gui=none
|
||||
hi Exception ctermfg=25 cterm=none
|
||||
" for, while, do
|
||||
hi Repeat guifg=#0050b0 gui=none
|
||||
hi Repeat ctermfg=25 cterm=none
|
||||
" case, default
|
||||
hi Label guifg=#0050b0 gui=none
|
||||
hi Label ctermfg=25 cterm=none
|
||||
" sizeof, +, *
|
||||
hi Operator guifg=#0050b0 gui=none
|
||||
hi Operator ctermfg=25 cterm=none
|
||||
" any other keyword
|
||||
hi Keyword guifg=#0050b0 gui=none
|
||||
hi Keyword ctermfg=25 cterm=none
|
||||
hi StatementBold ctermfg=4 cterm=bold
|
||||
|
||||
|
||||
" == Preprocessor ==
|
||||
" generic preprocessor
|
||||
hi PreProc guifg=#b07000 gui=none
|
||||
hi PreProc ctermfg=130 cterm=none
|
||||
hi PreProcBold guifg=#b07000 gui=bold
|
||||
hi PreProcBold ctermfg=130 cterm=bold
|
||||
" #include
|
||||
hi Include guifg=#b07000 gui=none
|
||||
hi Include ctermfg=130 cterm=none
|
||||
" #define
|
||||
hi Define guifg=#b07000 gui=none
|
||||
hi Define ctermfg=130 cterm=none
|
||||
" same as define
|
||||
hi Macro guifg=#b07000 gui=none
|
||||
hi Macro ctermfg=130 cterm=none
|
||||
" #if, #else, #endif
|
||||
hi PreCondit guifg=#b07000 gui=none
|
||||
hi PreCondit ctermfg=130 cterm=none
|
||||
|
||||
hi Type guifg=#0070a0 gui=none
|
||||
hi Type ctermfg=25 cterm=none
|
||||
hi TypeBold guifg=#0070a0 gui=bold
|
||||
hi TypeBold ctermfg=25 cterm=bold
|
||||
|
||||
" == Types ==
|
||||
" int, long, char
|
||||
hi Type guifg=#007090 gui=none
|
||||
hi Type ctermfg=24 cterm=none
|
||||
hi TypeBold guifg=#007090 gui=bold
|
||||
hi TypeBold ctermfg=24 cterm=bold
|
||||
" static, register, volative
|
||||
hi StorageClass guifg=#007090 gui=none
|
||||
hi StorageClass ctermfg=24 cterm=none
|
||||
" struct, union, enum
|
||||
hi Structure guifg=#007090 gui=none
|
||||
hi Structure ctermfg=24 cterm=none
|
||||
" typedef
|
||||
hi Typedef guifg=#007090 gui=none
|
||||
hi Typedef ctermfg=24 cterm=none
|
||||
|
||||
|
||||
" == Special ==
|
||||
" any special symbol
|
||||
hi Special guifg=#601090 gui=none
|
||||
hi Special ctermfg=54 cterm=none
|
||||
hi SpecialBold guifg=#601090 gui=bold
|
||||
hi SpecialBold ctermfg=54 cterm=bold
|
||||
" special character in a constant
|
||||
hi SpecialChar guifg=#601090 gui=none
|
||||
hi SpecialChar ctermfg=54 cterm=none
|
||||
" things you can CTRL-]
|
||||
hi Tag guifg=#601090 gui=none
|
||||
hi Tag ctermfg=54 cterm=none
|
||||
" character that needs attention
|
||||
hi Delimiter guifg=#601090 gui=none
|
||||
hi Delimiter ctermfg=54 cterm=none
|
||||
" special things inside a comment
|
||||
hi SpecialComment guifg=#601090 gui=none
|
||||
hi SpecialComment ctermfg=54 cterm=none
|
||||
" debugging statements
|
||||
hi Debug guifg=#601090 guibg=NONE gui=none
|
||||
hi Debug ctermfg=54 ctermbg=NONE cterm=none
|
||||
|
||||
hi Special guifg=#703080 gui=none
|
||||
hi Special ctermfg=5 cterm=none
|
||||
hi SpecialBold guifg=#703080 gui=bold
|
||||
hi SpecialBold ctermfg=5 cterm=bold
|
||||
|
||||
" == Text Markup ==
|
||||
" text that stands out, html links
|
||||
hi Underlined guifg=fg gui=underline
|
||||
hi Underlined ctermfg=fg cterm=underline
|
||||
" any erroneous construct
|
||||
hi Error guifg=#c82828 guibg=#e8b8b8 gui=none
|
||||
hi Error guifg=#c02020 guibg=#e0b0b0 gui=none
|
||||
hi Error ctermfg=9 ctermbg=181 cterm=none
|
||||
" todo, fixme, note, xxx
|
||||
hi Todo guifg=#907010 guibg=#f0f090 gui=underline
|
||||
hi Todo guifg=#504000 guibg=#fff880 gui=underline
|
||||
hi Todo ctermfg=94 ctermbg=229 cterm=underline
|
||||
" match parenthesis, brackets
|
||||
hi MatchParen guifg=NONE guibg=#a0f0b0 gui=none
|
||||
@@ -465,15 +263,8 @@ elseif &background == 'light'
|
||||
hi SpecialKey guifg=#b0d0c0
|
||||
hi SpecialKey ctermfg=151
|
||||
" titles for output from :set all, :autocmd, etc
|
||||
hi Title guifg=#0080e0 gui=none
|
||||
hi Title ctermfg=32 cterm=none
|
||||
|
||||
|
||||
" == Ignore ==
|
||||
" left blank, hidden
|
||||
hi Ignore guifg=bg
|
||||
hi Ignore ctermfg=bg
|
||||
|
||||
hi Title guifg=#0080e0 gui=bold
|
||||
hi Title ctermfg=32 cterm=bold
|
||||
|
||||
" == Text Selection ==
|
||||
" character under the cursor
|
||||
@@ -483,13 +274,13 @@ elseif &background == 'light'
|
||||
hi CursorIM guifg=bg guibg=#96cdcd
|
||||
hi CursorIM ctermfg=bg ctermbg=116
|
||||
" cursor column
|
||||
hi CursorColumn guifg=NONE guibg=#e0e0e0 gui=none
|
||||
hi CursorColumn guifg=NONE guibg=#e8e8e8 gui=none
|
||||
hi CursorColumn ctermfg=NONE ctermbg=254 cterm=none
|
||||
" cursor line/row
|
||||
hi CursorLine guifg=NONE guibg=#e0e0e0 gui=none
|
||||
hi CursorLine guifg=NONE guibg=#e8e8e8 gui=none
|
||||
hi CursorLine ctermfg=NONE ctermbg=254 cterm=none
|
||||
" visual mode selection
|
||||
hi Visual guifg=NONE guibg=#c0d8f0
|
||||
hi Visual guifg=NONE guibg=#d0e0f0
|
||||
hi Visual ctermfg=NONE ctermbg=153
|
||||
" visual mode selection when vim is not owning the selection (x11 only)
|
||||
hi VisualNOS guifg=fg gui=underline
|
||||
@@ -501,13 +292,12 @@ elseif &background == 'light'
|
||||
hi Search guibg=#f0b060 gui=none
|
||||
hi Search ctermbg=215 cterm=none
|
||||
|
||||
|
||||
" == UI ==
|
||||
" normal item in popup
|
||||
hi Pmenu guifg=#000000 guibg=#e0e8f0 gui=none
|
||||
hi Pmenu ctermfg=NONE ctermbg=254 cterm=none
|
||||
" selected item in popup
|
||||
hi PmenuSel guifg=#007090 guibg=#c0c8d0 gui=none
|
||||
hi PmenuSel guifg=#003050 guibg=#a0c0e0 gui=none
|
||||
hi PmenuSel ctermfg=24 ctermbg=251 cterm=none
|
||||
" scrollbar in popup
|
||||
hi PMenuSbar guibg=#d0d8e0 gui=none
|
||||
@@ -516,30 +306,29 @@ elseif &background == 'light'
|
||||
hi PMenuThumb guibg=#a0a8c0 gui=none
|
||||
hi PMenuThumb ctermbg=145 cterm=none
|
||||
" status line for current window
|
||||
hi StatusLine guifg=#000000 guibg=#b0c0d0 gui=bold
|
||||
hi StatusLine ctermfg=16 ctermbg=146 cterm=bold
|
||||
hi StatusLine guifg=#000000 guibg=#90b0d0 gui=bold
|
||||
hi StatusLine ctermfg=16 ctermbg=110 cterm=bold
|
||||
" status line for non-current windows
|
||||
hi StatusLineNC guifg=#607080 guibg=#b0c0d0 gui=none
|
||||
hi StatusLineNC ctermfg=60 ctermbg=146 cterm=none
|
||||
hi StatusLineNC guifg=#305070 guibg=#90b0d0 gui=none
|
||||
hi StatusLineNC ctermfg=239 ctermbg=110 cterm=none
|
||||
" tab pages line, not active tab page label
|
||||
hi TabLine guifg=#000000 guibg=#b0c0d0 gui=none
|
||||
hi TabLine ctermfg=16 ctermbg=146 cterm=none
|
||||
hi TabLine guifg=#000000 guibg=#90b0d0 gui=none
|
||||
hi TabLine ctermfg=16 ctermbg=110 cterm=none
|
||||
" tab pages line, where there are no labels
|
||||
hi TabLineFill guifg=#606060 guibg=#b0c0d0 gui=none
|
||||
hi TabLineFill ctermfg=59 ctermbg=146 cterm=none
|
||||
hi TabLineFill guifg=#606060 guibg=#90b0d0 gui=none
|
||||
hi TabLineFill ctermfg=59 ctermbg=110 cterm=none
|
||||
" tab pages line, active tab page label
|
||||
hi TabLineSel guifg=#007090 guibg=#b0c0d0 gui=bold
|
||||
hi TabLineSel ctermfg=24 ctermbg=146 cterm=bold
|
||||
hi TabLineSel guifg=#007090 guibg=#90b0d0 gui=bold
|
||||
hi TabLineSel ctermfg=24 ctermbg=110 cterm=bold
|
||||
" column separating vertically split windows
|
||||
hi VertSplit guifg=#708090 guibg=#b0c0d0 gui=none
|
||||
hi VertSplit ctermfg=66 ctermbg=146 cterm=none
|
||||
hi VertSplit guifg=#708090 guibg=#90b0d0 gui=none
|
||||
hi VertSplit ctermfg=66 ctermbg=110 cterm=none
|
||||
" line used for closed folds
|
||||
hi Folded guifg=#0090b0 guibg=#e0e8e8 gui=none
|
||||
hi Folded ctermfg=31 ctermbg=254 cterm=none
|
||||
hi Folded guifg=#004080 guibg=#d0e0e0 gui=none
|
||||
hi Folded ctermfg=24 ctermbg=252 cterm=none
|
||||
" column on side used to indicated open and closed folds
|
||||
hi FoldColumn guifg=#0090b0 guibg=#e0e8e8 gui=none
|
||||
hi FoldColumn ctermfg=31 ctermbg=254 cterm=none
|
||||
|
||||
hi FoldColumn guifg=#004080 guibg=#d0e0e0 gui=none
|
||||
hi FoldColumn ctermfg=24 ctermbg=252 cterm=none
|
||||
|
||||
" == Spelling ==
|
||||
" word not recognized
|
||||
@@ -555,7 +344,6 @@ elseif &background == 'light'
|
||||
hi SpellLocal guisp=#ffa500 gui=undercurl
|
||||
hi SpellLocal ctermbg=221 cterm=undercurl
|
||||
|
||||
|
||||
" == Diff ==
|
||||
" added line
|
||||
hi DiffAdd guifg=#205020 guibg=#a0d0a0 gui=none
|
||||
@@ -570,7 +358,6 @@ elseif &background == 'light'
|
||||
hi DiffText guifg=#a04040 guibg=#d0a0a0 gui=bold
|
||||
hi DiffText ctermfg=131 ctermbg=181 cterm=bold
|
||||
|
||||
|
||||
" == Misc ==
|
||||
" directory names and other special names in listings
|
||||
hi Directory guifg=#00a080 gui=none
|
||||
@@ -582,8 +369,8 @@ elseif &background == 'light'
|
||||
hi SignColumn guifg=#708090 guibg=#f8f8f8 gui=none
|
||||
hi SignColumn ctermfg=66 ctermbg=231 cterm=none
|
||||
" line numbers
|
||||
hi LineNr guifg=#2060a0 guibg=#b0c0d0
|
||||
hi LineNr ctermfg=4 ctermbg=146
|
||||
hi LineNr guifg=#2060a0 guibg=#90b0d0
|
||||
hi LineNr ctermfg=4 ctermbg=110
|
||||
" the 'more' prompt when output takes more than one line
|
||||
hi MoreMsg guifg=#209020 gui=none
|
||||
hi MoreMsg ctermfg=28 cterm=none
|
||||
@@ -597,16 +384,204 @@ elseif &background == 'light'
|
||||
hi WarningMsg guifg=#e06020 gui=none
|
||||
hi WarningMsg ctermfg=166 cterm=none
|
||||
" current match in the wildmenu completion
|
||||
hi WildMenu guifg=#007090 guibg=#b0c0d0 gui=bold,underline
|
||||
hi WildMenu ctermfg=26 ctermbg=146 cterm=bold
|
||||
hi WildMenu guifg=#007090 guibg=#90b0d0 gui=bold,underline
|
||||
hi WildMenu ctermfg=26 ctermbg=110 cterm=bold
|
||||
" color column highlighting
|
||||
hi ColorColumn guifg=NONE guibg=#f0e0d0 gui=none
|
||||
hi ColorColumn ctermfg=NONE ctermbg=224 cterm=none
|
||||
" left blank, hidden
|
||||
hi Ignore guifg=bg
|
||||
hi Ignore ctermfg=bg
|
||||
|
||||
elseif g:lucius_style == "blue"
|
||||
hi Normal guifg=#e0e0e0 guibg=#102030
|
||||
hi Normal ctermfg=253 ctermbg=234
|
||||
|
||||
hi Comment guifg=#506070 gui=none
|
||||
hi Comment ctermfg=240 cterm=none
|
||||
|
||||
hi Constant guifg=#90d0a0 gui=none
|
||||
hi Constant ctermfg=74 cterm=none
|
||||
hi ConstantBold guifg=#90d0a0 gui=bold
|
||||
hi ConstantBold ctermfg=74 cterm=bold
|
||||
|
||||
hi Identifier guifg=#a0d0c0 gui=none
|
||||
hi Identifier ctermfg=116 cterm=none
|
||||
hi IdentifierBold guifg=#a0d0c0 gui=bold
|
||||
hi IdentifierBold ctermfg=116 cterm=bold
|
||||
|
||||
hi Statement guifg=#90d0e0 gui=none
|
||||
hi Statement ctermfg=150 cterm=none
|
||||
hi StatementBold guifg=#b3d38c gui=bold
|
||||
hi StatementBold ctermfg=150 cterm=bold
|
||||
|
||||
hi PreProc guifg=#e0e0b0 gui=none
|
||||
hi PreProc ctermfg=187 cterm=none
|
||||
hi PreProcBold guifg=#d0d0a0 gui=bold
|
||||
hi PreProcBold ctermfg=187 cterm=bold
|
||||
|
||||
hi Type guifg=#90d0d0 gui=none
|
||||
hi Type ctermfg=115 cterm=none
|
||||
hi TypeBold guifg=#80c0c0 gui=bold
|
||||
hi TypeBold ctermfg=115 cterm=bold
|
||||
|
||||
hi Special guifg=#b0b0d0 gui=none
|
||||
hi Special ctermfg=182 cterm=none
|
||||
hi SpecialBold guifg=#a0a0c0 gui=bold
|
||||
hi SpecialBold ctermfg=182 cterm=bold
|
||||
|
||||
" == Text Markup ==
|
||||
" text that stands out, html links
|
||||
hi Underlined guifg=fg gui=underline
|
||||
hi Underlined ctermfg=fg cterm=underline
|
||||
" any erroneous construct
|
||||
hi Error guifg=#e07078 guibg=#402028 gui=none
|
||||
hi Error ctermfg=167 ctermbg=236 cterm=none
|
||||
" todo, fixme, note, xxx
|
||||
hi Todo guifg=#e0e090 guibg=#505000 gui=underline
|
||||
hi Todo ctermfg=186 ctermbg=NONE cterm=underline
|
||||
" match parenthesis, brackets
|
||||
hi MatchParen guifg=#00ff00 guibg=NONE gui=bold
|
||||
hi MatchParen ctermfg=46 ctermbg=NONE cterm=bold
|
||||
" the '~' and '@' and showbreak, '>' double wide char doesn't fit on line
|
||||
hi NonText guifg=#406050 gui=none
|
||||
hi NonText ctermfg=238 cterm=none
|
||||
" meta and special keys used with map, unprintable characters
|
||||
hi SpecialKey guifg=#505050
|
||||
hi SpecialKey ctermfg=239
|
||||
" titles for output from :set all, :autocmd, etc
|
||||
hi Title guifg=#00e0a0 gui=none
|
||||
hi Title ctermfg=74 cterm=none
|
||||
|
||||
" == Text Selection ==
|
||||
" character under the cursor
|
||||
hi Cursor guifg=bg guibg=#a0e0f0
|
||||
hi Cursor ctermfg=bg ctermbg=153
|
||||
" like cursor, but used when in IME mode
|
||||
hi CursorIM guifg=bg guibg=#90c0c0
|
||||
hi CursorIM ctermfg=bg ctermbg=116
|
||||
" cursor column
|
||||
hi CursorColumn guifg=NONE guibg=#283848 gui=none
|
||||
hi CursorColumn ctermfg=NONE ctermbg=236 cterm=none
|
||||
" cursor line/row
|
||||
hi CursorLine guifg=NONE guibg=#283848 gui=none
|
||||
hi CursorLine ctermfg=NONE ctermbg=236 cterm=none
|
||||
" visual mode selection
|
||||
hi Visual guifg=NONE guibg=#204050
|
||||
hi Visual ctermfg=NONE ctermbg=24
|
||||
" visual mode selection when vim is not owning the selection (x11 only)
|
||||
hi VisualNOS guifg=fg gui=underline
|
||||
hi VisualNOS ctermfg=fg cterm=underline
|
||||
" highlight incremental search text; also highlight text replaced with :s///c
|
||||
hi IncSearch guifg=#60f0f0 gui=reverse
|
||||
hi IncSearch ctermfg=87 cterm=reverse
|
||||
" hlsearch (last search pattern), also used for quickfix
|
||||
hi Search guibg=#f0b030 gui=none
|
||||
hi Search ctermbg=214 cterm=none
|
||||
|
||||
" == UI ==
|
||||
" normal item in popup
|
||||
hi Pmenu guifg=#e0e0e0 guibg=#305060 gui=none
|
||||
hi Pmenu ctermfg=253 ctermbg=233 cterm=none
|
||||
" selected item in popup
|
||||
hi PmenuSel guifg=#80f0b0 guibg=#406070 gui=none
|
||||
hi PmenuSel ctermfg=186 ctermbg=237 cterm=none
|
||||
" scrollbar in popup
|
||||
hi PMenuSbar guibg=#406070 gui=none
|
||||
hi PMenuSbar ctermbg=59 cterm=none
|
||||
" thumb of the scrollbar in the popup
|
||||
hi PMenuThumb guibg=#4090a0 gui=none
|
||||
hi PMenuThumb ctermbg=102 cterm=none
|
||||
" status line for current window
|
||||
hi StatusLine guifg=#e0e0e0 guibg=#405060 gui=bold
|
||||
hi StatusLine ctermfg=254 ctermbg=237 cterm=bold
|
||||
" status line for non-current windows
|
||||
hi StatusLineNC guifg=#8090a0 guibg=#405060 gui=none
|
||||
hi StatusLineNC ctermfg=244 ctermbg=237 cterm=none
|
||||
" tab pages line, not active tab page label
|
||||
hi TabLine guifg=#b6bf98 guibg=#363946 gui=none
|
||||
hi TabLine ctermfg=244 ctermbg=236 cterm=none
|
||||
" tab pages line, where there are no labels
|
||||
hi TabLineFill guifg=#cfcfaf guibg=#363946 gui=none
|
||||
hi TabLineFill ctermfg=187 ctermbg=236 cterm=none
|
||||
" tab pages line, active tab page label
|
||||
hi TabLineSel guifg=#efefef guibg=#414658 gui=bold
|
||||
hi TabLineSel ctermfg=254 ctermbg=236 cterm=bold
|
||||
" column separating vertically split windows
|
||||
hi VertSplit guifg=#8090a0 guibg=#405060 gui=none
|
||||
hi VertSplit ctermfg=242 ctermbg=237 cterm=none
|
||||
" line used for closed folds
|
||||
hi Folded guifg=#d0e0f0 guibg=#202020 gui=none
|
||||
hi Folded ctermfg=117 ctermbg=235 cterm=none
|
||||
" column on side used to indicated open and closed folds
|
||||
hi FoldColumn guifg=#c0c0d0 guibg=#363946 gui=none
|
||||
hi FoldColumn ctermfg=117 ctermbg=238 cterm=none
|
||||
|
||||
" == Spelling ==
|
||||
" word not recognized
|
||||
hi SpellBad guisp=#ee0000 gui=undercurl
|
||||
hi SpellBad ctermbg=196 cterm=undercurl
|
||||
" word not capitalized
|
||||
hi SpellCap guisp=#eeee00 gui=undercurl
|
||||
hi SpellCap ctermbg=226 cterm=undercurl
|
||||
" rare word
|
||||
hi SpellRare guisp=#ffa500 gui=undercurl
|
||||
hi SpellRare ctermbg=214 cterm=undercurl
|
||||
" wrong spelling for selected region
|
||||
hi SpellLocal guisp=#ffa500 gui=undercurl
|
||||
hi SpellLocal ctermbg=214 cterm=undercurl
|
||||
|
||||
" == Diff ==
|
||||
" added line
|
||||
hi DiffAdd guifg=#80a090 guibg=#313c36 gui=none
|
||||
hi DiffAdd ctermfg=fg ctermbg=22 cterm=none
|
||||
" changed line
|
||||
hi DiffChange guifg=NONE guibg=#4a343a gui=none
|
||||
hi DiffChange ctermfg=fg ctermbg=52 cterm=none
|
||||
" deleted line
|
||||
hi DiffDelete guifg=#6c6661 guibg=#3c3631 gui=none
|
||||
hi DiffDelete ctermfg=fg ctermbg=58 cterm=none
|
||||
" changed text within line
|
||||
hi DiffText guifg=#f05060 guibg=#4a343a gui=bold
|
||||
hi DiffText ctermfg=203 ctermbg=52 cterm=bold
|
||||
|
||||
" == Misc ==
|
||||
" directory names and other special names in listings
|
||||
hi Directory guifg=#c0e0b0 gui=none
|
||||
hi Directory ctermfg=151 cterm=none
|
||||
" error messages on the command line
|
||||
hi ErrorMsg guifg=#ee0000 guibg=NONE gui=none
|
||||
hi ErrorMsg ctermfg=196 ctermbg=NONE cterm=none
|
||||
" columns where signs are displayed (used in IDEs)
|
||||
hi SignColumn guifg=#9fafaf guibg=#181818 gui=none
|
||||
hi SignColumn ctermfg=145 ctermbg=233 cterm=none
|
||||
" line numbers
|
||||
hi LineNr guifg=#818698 guibg=#363946
|
||||
hi LineNr ctermfg=245 ctermbg=237
|
||||
" the 'more' prompt when output takes more than one line
|
||||
hi MoreMsg guifg=#2e8b57 gui=none
|
||||
hi MoreMsg ctermfg=29 cterm=none
|
||||
" text showing what mode you are in
|
||||
hi ModeMsg guifg=#76d5f8 guibg=NONE gui=none
|
||||
hi ModeMsg ctermfg=117 ctermbg=NONE cterm=none
|
||||
" the hit-enter prompt (show more output) and yes/no questions
|
||||
hi Question guifg=fg gui=none
|
||||
hi Question ctermfg=fg cterm=none
|
||||
" warning messages
|
||||
hi WarningMsg guifg=#e5786d gui=none
|
||||
hi WarningMsg ctermfg=173 cterm=none
|
||||
" current match in the wildmenu completion
|
||||
hi WildMenu guifg=#cae682 guibg=#363946 gui=bold,underline
|
||||
hi WildMenu ctermfg=16 ctermbg=186 cterm=bold
|
||||
" color column highlighting
|
||||
hi ColorColumn guifg=NONE guibg=#403630 gui=none
|
||||
hi ColorColumn ctermfg=NONE ctermbg=95 cterm=none
|
||||
" left blank, hidden
|
||||
hi Ignore guifg=bg
|
||||
hi Ignore ctermfg=bg
|
||||
|
||||
" }}}
|
||||
endif
|
||||
|
||||
|
||||
" == Vimwiki Colors ==
|
||||
hi link VimwikiHeader1 PreProcBold
|
||||
hi link VimwikiHeader2 ConstantBold
|
||||
@@ -615,3 +590,7 @@ hi link VimwikiHeader4 IdentifierBold
|
||||
hi link VimwikiHeader5 SpecialBold
|
||||
hi link VimwikiHeader6 TypeBold
|
||||
|
||||
" == Commands ==
|
||||
command! LuciusLight let g:lucius_style = "light" | colorscheme lucius
|
||||
command! LuciusDark let g:lucius_style = "dark" | colorscheme lucius
|
||||
command! LuciusBlue let g:lucius_style = "blue" | colorscheme lucius
|
||||
|
||||
Reference in New Issue
Block a user