Commit Graph

94 Commits

Author SHA1 Message Date
Lifepillar
bb983aeb7c Add colortemplate for light theme. 2017-10-28 14:52:46 +02:00
Lifepillar
a8e290db9f Update dark colortemplate. 2017-10-28 14:52:09 +02:00
Lifepillar
cb003376e2 Re-create solarized8_dark.vim using Colortemplate. 2017-10-28 14:19:56 +02:00
Lifepillar
6d4a86dbb0 Add Colortemplate template for default dark theme. 2017-10-28 14:19:22 +02:00
Lifepillar
2e4943cbe1 Improve Ruby highlighting of symbols and Boolean constants. 2017-09-30 16:23:08 +02:00
Lifepillar
fe94479426 Update Readme. 2017-09-05 20:42:06 +02:00
Lifepillar
becd2e29b1 Update Readme. 2017-09-05 20:35:27 +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
v0.7
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).
v0.6
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
b9e295e3b0 Cosmetic code changes. 2017-05-26 09:06:52 +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.
v0.5
2017-04-09 19:04:21 +02:00
Lifepillar
0558a39197 Update Readme. 2017-03-04 15:33:41 +01: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
Lifepillar
a090069d7c Simplify the source code. 2017-03-04 15:13:20 +01:00
Lifepillar
ba020da077 Merge pull request #10 from nelstrom/terminal-colors
Add terminal color palette for NeoVim.
2017-03-04 14:10:48 +01:00
Drew Neil
3228e81b26 Document NeoVim terminal features in project readme 2017-02-24 19:02:13 +00:00
Drew Neil
c942be4f11 Use s:placeholder to keep track of lost color in _high schemes 2017-02-24 08:39:16 +00:00
Drew Neil
b9ade1ad0f Compile colorschemes 2017-02-24 08:39:16 +00:00
Drew Neil
8efcd735a2 Define a color palette for NeoVim's terminal emulator 2017-02-24 08:39:16 +00:00
Lifepillar
e3ed38bf57 Merge pull request #8 from nelstrom/term-cursor
Add TermCursor and TermCursorNC (NeoVim).
2017-02-16 09:05:57 +01:00
Drew Neil
9c32652c25 Add TermCursor and TermCursorNC highlights if :terminal exists 2017-02-16 08:03:27 +00:00
Lifepillar
769661a1fa Add 'bold' value for g:solarized_diffmode. v0.4 2016-12-11 20:14:00 +01:00
Lifepillar
c801e4e553 Fix vimdiff colors being mostly grey in some terminals.
Fixes https://github.com/lifepillar/vim-solarized8/issues/6.
2016-12-11 20:05:47 +01:00
Lifepillar
c800f37a02 Update Cursor highlight group. 2016-12-08 19:38:58 +01:00
Lifepillar
ee311b07e0 Se background before hi clear.
See $VIMRUNTIME/colors/README.txt.
2016-12-08 19:06:18 +01:00
Lifepillar
00efd839c0 Make more things transparent when the background is transparent. 2016-12-08 18:51:58 +01:00
Lifepillar
e8216a6a33 Update TabLineSel for solarized8_dark. 2016-12-08 13:03:45 +01:00
Lifepillar
2b880d9162 Style the tab line the same as the status line. 2016-12-08 12:56:36 +01:00
Lifepillar
94e899e66a Update Readme. 2016-12-04 22:40:01 +01:00
Lifepillar
f0436ada46 Revert "Update Readme."
This reverts commit e77e86b09f.
2016-12-04 22:38:32 +01:00
Lifepillar
e77e86b09f Update Readme. 2016-12-04 22:37:13 +01:00
Lifepillar
53cb1a33b7 Add screenshots. 2016-10-13 11:46:15 +02:00
Patrik Wenger
3068ccdf5b fix position of backslash to escape newline 2016-10-12 21:27:37 +02:00
Lifepillar
903883a4c2 (Re)add support for transparent bg in terminals. v0.3 2016-09-06 11:02:49 +02:00
Lifepillar
72c6acc08b Remove background from line numbers in flat variant. 2016-09-06 10:59:22 +02:00
Lifepillar
fedde94f7c Update Readme. 2016-08-26 14:43:02 +03:00
Lifepillar
94e31ca79a Update troubleshooting section in the Readme. 2016-08-21 16:09:58 +03:00
Lifepillar
208dd01e3f Add a troubleshooting section. 2016-08-21 16:08:49 +03:00
Lifepillar
c510fac22a Add space. 2016-07-02 22:27:35 +02:00
Lifepillar
a46c2dd926 Update Readme. 2016-07-02 22:27:00 +02:00
Lifepillar
48d4afbb6e Change section title. 2016-07-02 22:24:23 +02:00
Lifepillar
b6a9a179e4 Update Readme. 2016-07-02 22:23:22 +02:00