mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-24 20:13:00 +03:00
Document how to view the current value for options
This commit is contained in:
parent
7c65e463ff
commit
ada4e01f97
@ -317,3 +317,22 @@ are exclusively available to built-in options.
|
||||
Controls which messages will be displayed in the startup info box, only messages
|
||||
relating to a Kakoune version greater than this value will be displayed. Versions
|
||||
are written as a single number: Like `20180413` for version `2018.04.13`
|
||||
|
||||
== Current values
|
||||
|
||||
The current value for an option can be viewed using
|
||||
<<expansions#option-expansions, `:doc expansions option-expansions`>>.
|
||||
|
||||
For example, the current value of the `BOM` option can be displayed in the
|
||||
status line using the `echo` command:
|
||||
|
||||
--------------
|
||||
echo %opt{BOM}
|
||||
--------------
|
||||
|
||||
The current values for all options can be dumped to the *\*debug*\* buffer using
|
||||
the following command:
|
||||
|
||||
-------------
|
||||
debug options
|
||||
-------------
|
||||
|
Loading…
Reference in New Issue
Block a user