Skip to content

Commit 7bdb50e

Browse files
committed
Merge branch 'more-solarized'
Conflict resolution: Use ANSI LightBlue for both br_violet and "regular" violet to mimic the effect of commit 754a3b4 (LightBlue is more visible).
2 parents 660a25f + 7ddc016 commit 7bdb50e

File tree

8 files changed

+865
-464
lines changed

8 files changed

+865
-464
lines changed

editors/vim/README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,18 @@ Syntax coloring choices
3939
-----------------------
4040

4141
Selenized aims to have a similar feel to Solarized, but it doesn't follow all
42-
Solarized coloring choices. In particular, I believe that using green for
43-
keywords doesn't look good, so I've made them yellow (swapping with types,
42+
Solarized coloring choices. In particular, I believe that using **green for
43+
keywords** doesn't look good, so I've made them yellow (swapping with types,
4444
which are yellow in Solarized). If you don't like this choice, add this to your
4545
`.vimrc`:
4646

4747
let g:selenized_green_keywords=1
4848

49-
Also note that selenized doesn't use orange and violet because they are not
50-
available in ANSI color palette (Solarized worked around this with an [ugly
51-
hack](https://github.com/jan-warchol/selenized/blob/master/whats-wrong-with-solarized.md#problems-with-implementation)).
52-
However, I plan to use orange and violet in the GUI version of the theme.
49+
Also note that selenized uses **orange and violet** only in the GUI/truecolor
50+
version of the theme. That's because they are not available in ANSI color
51+
palette (Solarized worked around this with an [ugly
52+
hack](https://github.com/jan-warchol/selenized/blob/master/whats-wrong-with-solarized.md#problems-with-implementation),
53+
but I prefer to keep compatibility).
5354

5455

5556
Contributing

editors/vim/_hl_groups.colortemplate

Lines changed: 54 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,41 @@ Term colors: bg_2 br_red br_green br_yellow br_blue br_magenta br_cyan fg_1
55

66
Variant: gui 256 16
77

8-
# default syntax group
8+
# default coloring
99
Normal fg_0 bg_0
1010

11+
1112
# Interface elements {{{
1213

1314
# Group Foreground Background Attributes
14-
IncSearch red none reverse
15+
16+
# selections and highlights
17+
IncSearch orange none reverse
1518
Search yellow none reverse
19+
QuickFixLine -> Search
1620
Visual none bg_2
17-
LineNr dim_0 bg_1
18-
CursorLineNr fg_1 none
21+
MatchParen br_yellow bg_2 bold
22+
23+
# cursor-related
24+
Cursor none none reverse
25+
lCursor -> Cursor # See `:help lCursor`
1926
CursorLine none bg_1
2027
CursorColumn none bg_1
21-
ColorColumn none bg_1
22-
MatchParen br_yellow bg_2 bold
28+
29+
# in-buffer borders etc.
2330
Folded none bg_1
31+
ColorColumn none bg_2
32+
LineNr dim_0 bg_1
33+
CursorLineNr fg_1 none
2434

25-
# window (pane) borders etc.
35+
# window (pane) borders
2636
VertSplit dim_0 dim_0
2737
StatusLine none none reverse
2838
StatusLineNC none bg_2
2939
StatusLineTerm -> StatusLine
3040
StatusLineTermNC -> StatusLineNC
41+
42+
# bars on the top
3143
TabLineSel fg_1 bg_1 reverse bold
3244
TabLine dim_0 none reverse
3345
TabLineFill dim_0 none reverse
@@ -46,68 +58,70 @@ DiffChange none bg_1
4658
DiffDelete red bg_1
4759
DiffText bg_1 yellow
4860

49-
# commonly linked groups
50-
QuickFixLine -> Search
51-
# See `:help lCursor`
52-
lCursor -> Cursor
53-
5461
# }}}
5562

63+
5664
# Syntax elements {{{
5765

5866
# Group Foreground Background Attributes
5967
Comment dim_0 none italic
60-
Constant cyan none
61-
Identifier br_blue none
62-
Statement br_yellow none
63-
PreProc magenta none
64-
Type green none
65-
Special red none
66-
Error red none bold
67-
Todo magenta bg_1 bold reverse
68-
Underlined br_blue none underline
6968

70-
#if get(g:, '@optionprefix_green_keywords', 0)
71-
Statement green none
72-
Type yellow none
73-
#endif
74-
75-
# commonly linked groups
76-
Function -> Identifier
69+
Constant cyan none
7770
String -> Constant
7871
Number -> Constant
7972
Boolean -> Constant
8073
Character -> Constant
8174
Float -> Constant
75+
76+
Identifier br_blue none
77+
Function -> Identifier
78+
79+
Statement br_yellow none
8280
Conditional -> Statement
83-
Exception -> Statement
81+
Repeat -> Statement
8482
Keyword -> Statement
8583
Label -> Statement
84+
Exception -> Statement
8685
Operator -> Statement
87-
Repeat -> Statement
86+
87+
PreProc orange none
8888
Define -> PreProc
89-
Include -> PreProc
90-
Macro -> PreProc
9189
PreCondit -> PreProc
90+
Include -> PreProc
91+
Macro -> Include
92+
93+
Type green none
94+
Typedef -> Type
95+
StorageClass -> Type
96+
Structure -> Type
97+
98+
Special red none
9299
SpecialChar -> Special
100+
Delimiter -> Special
93101
SpecialComment -> Special
94102
Debug -> Special
95-
Delimiter -> Special
96103
Tag -> Special
97-
StorageClass -> Type
98-
Structure -> Type
99-
Typedef -> Type
100-
# }}}
101104

102-
# Vim
103-
VimCommand -> Statement
105+
Error red none bold
106+
Todo magenta none bold
107+
Underlined violet none underline
108+
Ignore bg_2 none
109+
110+
# Language-specific coloring (use sparingly)
111+
VimCommand yellow none
112+
RubyDefine fg_1 none bold
113+
114+
#if get(g:, '@optionprefix_green_keywords', 0)
115+
Statement green none
116+
Type yellow none
117+
#endif
118+
104119

105120
# Remaining unstyled highlight groups {{{
106121

107122
# Group Foreground Background Attributes
108123
Terminal none none
109124
Conceal none none
110-
Cursor none none
111125
Directory none none
112126
EndOfBuffer none none
113127
ErrorMsg none none
@@ -127,6 +141,4 @@ VisualNOS none none
127141
WarningMsg none none
128142
WildMenu none none
129143

130-
Ignore none none
131-
132144
# }}}

0 commit comments

Comments
 (0)