1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-24 16:15:38 +03:00
Commit Graph

16 Commits

Author SHA1 Message Date
Maxime Coste
6c85c0cb29 Use alpha blending for gruvbox selections 2020-08-30 12:14:57 +10:00
Frank LENORMAND
37706d7a95 colors: Retire the bold and italic faces
This commit removes declarations and mentions to the built-in `bold`
and `italic` faces.

While they could be a user-friendly way of customising how tokens
are emphasised in Markdown documents (similarly to the
`$LESS_TERMCAP_*` environment variables for `man` pagers), most other
markup languages do not have the concept of "strong" and "emphasis"
but refer directly to the font style/weight.

The faces were also not even set by default to highlight as their
names implied, so having markup language support scripts directly
use the +b and +i face attributes is more consistent.
2020-05-15 11:56:38 +03:00
Frank LENORMAND
0c4c744362 rc: Highlight embedded documentation
This commit adds a `documentation` face to the builtin themes, used
to highlight common documentation syntaxes:

	/**
	 * JavaDoc
	 */

	/*!
	 * QtDoc
	 */

	/// Inline documentation

	## Inline documentation

The face is only an alias to the `comment` one for now.

Closes #1944
2020-01-29 20:03:21 +01:00
Maxim Baz
fbe6f65aae
gruvbox: show comments in italic 2018-10-21 11:34:04 +02:00
Justin Frank
d84f94550c Reverted gruvbox StatusLine color back to default background color 2018-10-04 12:32:41 -07:00
Justin Frank
2de4388ffb Tweaked the gruvbox colorscheme
* changed the matching character highlighter to matcht vim colors
* set the StatusLine face

Use more defined colors over terminal colors

Added italics

Replaced defaults with defined colors

Tweaked cursor colors
2018-10-02 23:45:42 -07:00
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