Commit Graph

13 Commits

Author SHA1 Message Date
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
Maxime Coste
017fedc40f Tweak base16 colorscheme so that operators can be displayed in menus
MenuBackground bg and operators fg where the same, leading to operators
being invisible in menu text.
2017-01-05 09:50:04 +00: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
Frank LENORMAND
504f50417e Declare the BufferPadding in the default themes 2016-02-17 15:50:56 +02: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
27bee18d37 Add MenuInfo face definition in bundled colors 2015-10-05 13:58:48 +01:00
Frank LENORMAND
5431a1871c Add a base16 theme 2015-10-04 14:07:49 +03:00