diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-04-07 15:36:39 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-04-07 16:27:50 +1000 |
| commit | 57baad4afde8d1bab4040c5a5cbe8a5b367bceba (patch) | |
| tree | 5e4f5fba17f8a6038301fcb129f36db102b0bd70 /doc | |
| parent | 6adb28ec1243adf13126ee47444d57dd2b842945 (diff) | |
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
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/pages/commands.asciidoc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/pages/commands.asciidoc b/doc/pages/commands.asciidoc index 4baf5cbf..58cf4e0e 100644 --- a/doc/pages/commands.asciidoc +++ b/doc/pages/commands.asciidoc @@ -161,9 +161,12 @@ command *q!* has to be used). Aliases are mentionned below each commands. *-debug*::: print the given text to the *\*debug** buffer -*set-face* <name> <facespec>:: +*set-face* <scope> <name> <facespec>:: *alias* face + - define a face (See <<faces#,`:doc faces`>>) + define a face in *scope* (See <<faces#,`:doc faces`>>) + +*unset-face* <scope> <name>:: + Remove a face definition from *scope* (See <<faces#,`:doc faces`>>) *colorscheme* <name>:: load named colorscheme |
