Commit Graph

95 Commits

Author SHA1 Message Date
Lifepillar
c518404623 Rebuild the color schemes. 2019-06-26 19:33:42 +02:00
Lifepillar
37fbf3ee78 Rebuild the color scheme with fix for italics in iOS. 2019-06-06 20:59:01 +02:00
Lifepillar
97110edfc1 Rebuild the color schemes. 2019-06-06 17:43:11 +02:00
Lifepillar
c81e287b9d Use reverse colors for Error highlight group.
Often (e.g. for Python) Error is used to indicate
whitespace mistakes (e.g. too much whitespace).
Since in Solarized 8 Error does not have any
background colour, these errors are not visible
(@fladd).

Fixes https://github.com/lifepillar/vim-solarized8/issues/63.
2019-05-01 23:24:38 +02:00
Lifepillar
40e77bf073 Rebuild colorschemes. 2019-03-26 08:42:08 +01:00
Lifepillar
8abe61d019 Rebuild colorschemes. 2019-03-24 21:30:41 +01:00
Lifepillar
c97c44e747 Rebuild colorschemes. 2019-03-24 17:01:14 +01:00
Lifepillar
17dc84228d Add "flat" value to g:solarized_statusline.
This sets a "flat" status line, vert bar and tab bar in all variants.
It does not have any effect for solarized8_flat, because "normal" and
"flat" are effectively the same in that case.
2019-03-08 10:36:33 +01:00
Lifepillar
2499bfc234 Remove deprecated colorscheme names (_dark*/_light*). 2018-10-20 16:32:33 +02:00
Lifepillar
9b74a5faf5 Fix incorrect g:terminal_color_* variables for NeoVim.
Fixes https://github.com/lifepillar/vim-solarized8/issues/46.
2018-08-26 09:14:32 +03:00
Lifepillar
4dc4539c49 Fix incorrect g:terminal_ansi_colors for light schemes.
Fixes https://github.com/lifepillar/vim-solarized8/issues/45.
2018-08-22 14:22:13 +03:00
Lifepillar
ff7ec263d9 *Really* fallback to 16 colors when t_Co < 256. 2018-06-21 12:39:13 +02:00
Lifepillar
e96b6b6d1c Automatically fallback to 16 colors when t_Co < 256. 2018-06-20 09:05:06 +02:00
Kristijan Husak
9f9cba450a Add highlighting for javascript function call. 2018-05-07 12:50:01 +02:00
Lifepillar
06fb3a0f97 Define g:terminal_ansi_colors. 2018-04-09 21:54:53 +02:00
Lifepillar
330148b2f3 Make VertSplit separator always visible.
The separator makes it clear how a window has been split, which is
useful, for example, when you rotate windows (<c-w><c-r>). The separator
may be suppressed by the user with 'fillchars'.

See also: https://github.com/vim/vim/issues/2724.
2018-03-25 12:44:52 +02:00
Lifepillar
256aa09e46 Do not enable italics by default.
This commit addresses issues such as https://github.com/lifepillar/vim-solarized8/issues/28
and https://github.com/lifepillar/vim-solarized8/issues/29.
2017-11-29 19:35:25 +01:00
Lifepillar
f6b416006b Add Terminal, ToolbarLine, ToolbarButton hi groups. 2017-11-21 09:40:48 +01:00
Lifepillar
00c6432253 Reinstate the old names for backward compatibility. 2017-11-13 09:12:29 +01:00
Lifepillar
c09e6ac686 Add colorization for spelling errors when visibility is high.
Set:

    let g:solarized_visibility="high"

in your vimrc. Then, spelling mistakes are marked with reversed colors.

Fixes https://github.com/lifepillar/vim-solarized8/issues/25
2017-11-12 11:58:09 +01:00
Lifepillar
5c05f6e357 Rename option => g:solarized_extra_hi_groups. 2017-11-11 14:27:04 +01:00
Lifepillar
4cd2050d71 Document g:solarized_enable_extra_hi_groups. 2017-11-11 14:17:01 +01:00
Lifepillar
3d01975ee2 Enable italics in terminal by default. 2017-11-11 14:03:33 +01:00
Lifepillar
5b41b09d30 Prefer 256 colors instead of 16 colors.
The rationale behind this change is that the 256 color palette gives a
less unpredictable result.
2017-11-11 13:13:53 +01:00
Lifepillar
d442acd01b Reduce the number of colorschemes to four.
Merge dark and light variants together. Now, you must select the
background color before loading the colorscheme, e.g.:

se background=dark
colorscheme solarized8
2017-11-11 13:00:33 +01:00
Lifepillar
25933f5723 Generate documentation only once.
Fixes https://github.com/lifepillar/vim-solarized8/issues/23.
2017-11-05 11:08:09 +01:00
Lifepillar
150c7e0e56 Update dark templates. 2017-10-29 21:29:51 +01:00
Lifepillar
44e7efebf3 Update light templates. 2017-10-29 21:19:24 +01:00
Lifepillar
daa93828d3 Fix regressions in solarized8_light. 2017-10-29 20:57:18 +01:00
Lifepillar
3f3fc033e6 Fix regressions in solarized8_dark. 2017-10-29 20:42:20 +01:00
Lifepillar
5659e16202 Fix option's name. 2017-10-28 22:11:51 +02:00
Lifepillar
201ce3873e Change approximation for base01 in dark high variant. 2017-10-28 21:51:56 +02:00
Lifepillar
370826108b Fix invisible cursor in light themes.
Fix a regression causing the cursor to be invisible in light themes.
2017-10-28 21:29:37 +02:00
Lifepillar
ae51215bed Rebuild the colorschemes. Add help files. 2017-10-28 17:21:04 +02:00
Lifepillar
a22a0c688e Fix custom hi groups in light theme. 2017-10-28 14:59:20 +02:00
Lifepillar
bb983aeb7c Add colortemplate for light theme. 2017-10-28 14:52:46 +02:00
Lifepillar
cb003376e2 Re-create solarized8_dark.vim using Colortemplate. 2017-10-28 14:19:56 +02:00
Lifepillar
2e4943cbe1 Improve Ruby highlighting of symbols and Boolean constants. 2017-09-30 16:23:08 +02:00
Lifepillar
1e0edf58ae Set foreground colors for badly spelled word.
Do not rely on a Vim implementation to provide underline/undercurl
(e.g., iVim on iOS). Highlight bad spelling with a different foreground
color.
2017-09-01 22:58:21 +02:00
Lifepillar
5a8d54cd27 Add StatusLineTerm and StatusLineTermNC. 2017-08-16 18:48:40 +03:00
Lifepillar
2210b2037e Allow the user to choose old style's Cursor highlight group.
Add a new option to choose the original Solarized's cursor style.

So, by default now the cursor is white on blue in dark themes and white
on orange/red (depending on visibility) in light themes no matter which
variant is used.

If you prefer a grey cursor, as in the original Solarized, put this in
your `vimrc`:

    let g:solarized_old_cursor_style = 1
2017-07-05 22:18:10 +02:00
Lifepillar
b64bca5f6c Add QuickFixLine highlight group (Vim 8.0.641). 2017-06-13 21:07:41 +02:00
Lifepillar
00761b5ff6 Tweak cursor color in light themes.
With normal and low visibility, now the cursor is orange (normal, high
contrast variants) or grey (flat, low variants).

With high visibility, now the cursor is red (normal high contrast
variants) or (darker) grey (flat, low variants).
2017-05-26 11:18:48 +02:00
Lifepillar
b261473732 Use underline for MatchParen in some light variants.
In order to avoid reverting dc6c1df completely, this commit introduces
underline as a further clue to distinguish matching parentheses. In the
normal and high contrast variants, underline is used for MatchParen when
g:solarized_visibility is set to "low" or "normal", while a dark
background is used when g:solarized_visibility is set to "high". For
flat and low contrast variants, underline is used when
g:solarized_visibility is set to "high" (otherwise, the appearance is
the same as before this commit).
2017-05-26 09:36:28 +02:00
Lifepillar
ead9d83435 Update CursorLine for flat variant. 2017-05-25 15:57:07 +02:00
Lifepillar
96dd598b40 Update MatchParen in light themes.
In order to address

    https://github.com/lifepillar/vim-solarized8/issues/14

and further concerns in

    https://github.com/lifepillar/vim-solarized8/issues/15

in the previous commit and in this one I have updated Cursor and
MatchParen highlighting, respectively.

The current colors are based on the following considerations:

1. The Solarized palette has only two "whites": the ligther is used in
   all variants but "low", which uses the darker.

2. Matching parentheses should be distinguishable even if bold face is
   disabled.

3. The cursor and matching parentheses should be easily distinguishable
   even when 'cursorline' is on. Before the recent commits this was not
   the case.

4. MatchParen's background may be set to NONE in the "low" and "flat"
   variants, because CursorLine uses underline. It should be set to
   something different in the other two variants, otherwise it may
   become impossible to see a matching character.

5. MatchParen's foreground color shouldn't be red if MatchParen's background
   color is not set to something different from the normal background.
   This is because several syntax files use red to highlight parentheses
   by default. If bold fonts are not used, matching parentheses may be
   not be visible at all.

6. I don't like red on grey (see MatchParen in original Solarized) or
   red next to grey.

So, these are the choices I've made:

- In the normal and high contrast variant the cursor is now orange and
  MatchParen's background is grey (with white foreground, see 6 above).
  This achieves the twofold goal of being able to see a matching
  parenthesis when 'cursorline' is on and being able to clearly
  distinguish the cursor from the matching parenthesis. Orange is
  preferred to red because of 6 (with two consecutive parentheses
  you have a grey block and an orange block next to each other).

- In the flat and low contrast variant the cursor is grey, exactly as in
  the original Solarized. This choice is made because such variants
  should have less contrast in general, and because 'cursorline' poses
  no problem as it does not change the text background.

- The flat variant uses the colors that were used previously for all the
  variants. Even without boldface, the matching parenthesis can be seen
  because it has a slightly darker background (see 1).

- The low contrast variant uses the darker white for the normal
  background, so MatchParen has a transparent background and a nearly
  black foreground. This does not particularly stand out without
  boldface, but hey, it's low contrast.
2017-05-25 15:29:00 +02:00
Lifepillar
3030e9da41 Make cursor color red or grey in light themes.
This is the first of a couple of commits whose goal is to fix issues
with Cursor and MatchParen highlights. In particular, we strive to find
combinations that are pleasant and permit to distinguish matched
parentheses easily. More about this in the next commit.
2017-05-25 12:27:56 +02:00
Lifepillar
41ed17307e Make MatchParen more visible in light themes with cursorline on.
In light themes, when cursorline is on and bold fonts are not used,
MatchParen highlighting is not visible. This commit solves the problem
by setting the foreground color to red, as in the original Solarized.

Fixes https://github.com/lifepillar/vim-solarized8/issues/15.
2017-05-25 10:26:15 +02:00
Lifepillar
dc6c1dfa6f Update MatchParen in light themes.
Problem: MatchParen highlighting in light themes inverts colors of
bracket, makes it look like cursor has jumped to matching bracket.

Solution: keep the parenthesis's foreground color when highlighted, and
make the background slightly darker instead of grey.

Fixes https://github.com/lifepillar/vim-solarized8/issues/11.
2017-04-09 19:04:21 +02:00
Lifepillar
fde07f5deb Replace Author with Maintainer.
This sounds more appropriate, as I it recognizes that I am not the
author of the color palette, nor did I write most of the code.
2017-03-04 15:23:04 +01:00