Commit Graph

10 Commits

Author SHA1 Message Date
Olivier Perret
fb1688bebb Make all cursor-related faces final 2018-09-23 16:17:23 +02:00
Maxime Coste
1631a7d8d9 Replace the Exclusive face attribute with Final
Final is more granular, it consists of FinalFg (f), FinalBg (g)
and FinalAttr (a) which control if a face's fg, bg, or attributes
fully overwrite the previous face (instead of merging) and if
following faces apply on top of this face or not.

Fixes #2388 if the Whitespace face has the FinalFg flag.
2018-09-23 23:27:14 +10:00
Maxime Coste
3617509b4a Merge remote-tracking branch 'maximbaz/gruvbox-linenumbers' 2018-07-08 18:57:15 +10:00
Maxime Coste
ec16969609 Do not reparse %sh{...} strings
Automatic reparsing of %sh{...}, while convenient in many cases,
can be surprising as well, and can lead to security problems:

'echo %sh{ printf "foo\necho bar" }' runs 'echo foo', then 'echo bar'.
we make this danger explicit, and we fix the 'nop %sh{...}' pattern.

To reparse %sh{...} strings, they can be passed to evaluate-commands,
which has been fixed to work in every cases where %sh{...} reparsing
was used..
2018-07-05 07:54:28 +10:00
Maxim Baz
b511663404
Use bg1 2018-07-03 22:55:47 +02:00
Maxim Baz
51d3c285ef
Improve coloring of error messages in gruvbox 2018-06-23 23:03:51 +02:00
Maxim Baz
773855c16d
Improve coloring wrapped line numbers in gruvbox 2018-06-23 21:14:35 +02:00
Maxime Coste
57baad4afd Make FaceRegistry scoped
set-face now takes a scope argument, and faces can be overridden on
a buffer or window basis.

colorscheme apply on global scope, which should be good enough for
now.

Fixes #1411
2018-04-07 16:27:50 +10:00
Maxime Coste
df5ae5fa79 colorschemes: Add PrimaryCursorEol and SecondaryCursorEol
Tried to respect the colorscheme themes, adjustements welcome.
2018-02-24 23:16:39 +11:00
laelath
828e76fbea Added gruvbox colorscheme
Based on the vim gruvbox colorscheme. I made it as close as possible to the
original vim colors, but had to make some changes due to kakoune's highlighting
scheme being different than vim's.
2017-03-24 14:11:05 -07:00