Commit Graph

22 Commits

Author SHA1 Message Date
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
Justin Frank
91cbe88536 Made all builtin colorschemes set Whitespace highlighter 2018-10-04 13:45:16 -07:00
Olivier Perret
fb1688bebb Make all cursor-related faces final 2018-09-23 16:17:23 +02: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
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
Nick Mosher
e1927fa9c4 Adds faces module and function. Renames identifier face to variable. 2017-02-09 21:43:29 -05:00
Frank LENORMAND
94971e0e8a Introduce the builtin face, modify scripts accordingly 2016-11-24 17:06:45 +03:00
Frank LENORMAND
85ce5db08a Merge the "error" duplicate face into "Error" 2016-11-09 17:51:42 +03:00
Maxime Coste
8627c93e11 Tweak zenburn theme, rely less on terminal builtin colors 2016-09-18 14:30:16 +01:00
Maxime Coste
c82b5bd016 Tweak zenburn BufferPadding color 2016-04-20 13:26:12 +01:00
Maxime Coste
f6d363c607 Fix zenburn BufferPadding face definition 2016-04-11 13:53:54 +01:00
Frank LENORMAND
504f50417e Declare the BufferPadding in the default themes 2016-02-17 15:50:56 +02:00
Maxime Coste
e5e12d9a46 Tweak zenburn colorscheme 2015-11-25 20:11:40 +00:00
Maxime Coste
d76f324f80 Define new status line faces in colors schemes 2015-11-24 13:59:35 +00:00
Maxime Coste
2026aac26b Rework colorschemes so that they properly redefine all builtin faces 2015-11-12 13:33:23 +00:00
Maxime Coste
f45349dee5 Update zenburn menu fg color so that highlighted entries are still visible 2015-10-06 20:03:28 +01:00
Maxime Coste
27bee18d37 Add MenuInfo face definition in bundled colors 2015-10-05 13:58:48 +01:00
Maxime Coste
654904f046 Change StatusCursor color in zenburn theme 2015-07-23 13:46:58 +01:00
Maxime Coste
287fc59c05 Update zenburn.kak 2015-07-04 11:37:24 +01:00
Maxime Coste
466410529a Add a colorscheme command and a first zenburn them in the colors directory 2015-07-02 13:56:38 +01:00