2018-05-19 04:05:28 +03:00
|
|
|
= Changelog
|
|
|
|
|
|
|
|
This changelog contains major and/or breaking changes to Kakoune between
|
|
|
|
released versions.
|
|
|
|
|
2018-09-12 14:24:38 +03:00
|
|
|
== Development version
|
|
|
|
|
|
|
|
* `remove-hooks` <group> argument is now a regex and removes all
|
|
|
|
hooks whose group matches it.
|
|
|
|
|
2018-09-23 16:17:12 +03:00
|
|
|
* `exclusive` face attribute (e) has been replaced with more
|
|
|
|
granular `final foreground` (f), `final background` (g), and `final
|
|
|
|
attributes` (a), or the three combined as `final` (F). Semantics
|
|
|
|
changed slightly as those attributes apply to the existing face as
|
|
|
|
well (a final face will not get modified by a following face if that
|
|
|
|
following face does not have the final attribute itself.
|
|
|
|
|
2018-09-04 01:03:54 +03:00
|
|
|
== Kakoune 2018.09.04
|
2018-05-19 04:05:28 +03:00
|
|
|
|
2018-06-03 08:05:48 +03:00
|
|
|
This version contains a significant overhaul of various Kakoune
|
|
|
|
features that can break user configuration. This was a necessary
|
|
|
|
change to make Kakoune command model cleaner and more robust.
|
|
|
|
|
2018-05-07 00:29:52 +03:00
|
|
|
* `%sh{...}` strings are not reparsed automatically anymore, they need
|
|
|
|
to go through an explicit `evaluate-commands`
|
|
|
|
|
2018-05-19 04:05:28 +03:00
|
|
|
* The `-allow-override` switch from `define-command` has been renamed
|
|
|
|
`-override`.
|
|
|
|
|
|
|
|
* The search prompt uses buffer word completion so that fuzzy completion
|
|
|
|
can be used to quickly search for a buffer word.
|
|
|
|
|
2018-05-30 19:11:19 +03:00
|
|
|
* The `wrap` highlighter can accept a new `-marker <marker_text>` switch.
|
|
|
|
|
2018-07-05 11:00:26 +03:00
|
|
|
* The command line syntax has changed to support robust escaping.
|
|
|
|
|
|
|
|
- `%sh{...}` is not expanded to multiple tokens automatically anymore,
|
|
|
|
to evaluate its output as multiple tokens/commands, use the
|
|
|
|
`evaluate-commands` command:
|
|
|
|
|
|
|
|
-------------------------------------------------------------
|
|
|
|
evaluate-commands %sh{ echo "first command; second command" }
|
|
|
|
-------------------------------------------------------------
|
|
|
|
|
|
|
|
- Escaping of `'` in `'...'` and `"` and `%` in `"..."` strings is done
|
|
|
|
by doubling up (`''`, `""` and `%%`) instead of using a backslash
|
|
|
|
|
|
|
|
- Bare words escaping has been tweaked.
|
|
|
|
|
|
|
|
See <<command-parsing#,`:doc command-parsing`>>.
|
2018-06-03 08:05:48 +03:00
|
|
|
|
|
|
|
* Various lists (options, registers...) in Kakoune are now written using
|
|
|
|
the command line syntax:
|
|
|
|
|
|
|
|
- `set-register` now take an arbitrary number of parameters and sets
|
|
|
|
the register to multiple strings. `%reg` expands to a list of strings.
|
|
|
|
|
2018-07-14 16:37:42 +03:00
|
|
|
- the `$kak_reg_*` environment variable is now a list, `$kak_main_reg_*`
|
|
|
|
provides the previous behaviour.
|
|
|
|
|
2018-06-03 08:05:48 +03:00
|
|
|
- `%opt` expands list options as list of strings.
|
|
|
|
|
|
|
|
- selection descs are whitespaces separated instead of `:` separated
|
|
|
|
|
2018-06-28 14:18:23 +03:00
|
|
|
* Highlighters syntax has changed to permit explicit naming and remove
|
|
|
|
highlighter specific name parameters (such as for the group highlighter)
|
|
|
|
`add-highlighter <path>/<name> <type> <params>` is the new syntax.
|
|
|
|
|
|
|
|
* Regions highlighters have been overhauled and are now specified with
|
|
|
|
a sequence of commands instead of a single one:
|
|
|
|
|
|
|
|
------------------------------------------------------------------
|
|
|
|
add-highlighter <path>/<name> regions
|
|
|
|
add-highlighter <path>/<name>/<region name> region <begin> <end> \
|
2018-07-02 13:59:12 +03:00
|
|
|
<type> <params>
|
2018-06-28 14:18:23 +03:00
|
|
|
------------------------------------------------------------------
|
|
|
|
|
2018-07-02 13:59:12 +03:00
|
|
|
The recursion regex is opt-in through a `-recurse <recurse>` flag.
|
|
|
|
|
2018-06-28 14:18:23 +03:00
|
|
|
They also are not necessarily groups anymore, a region can directly
|
|
|
|
apply any other highlighter
|
|
|
|
|
|
|
|
See <<highlighters#,`:doc highlighters`>>
|
|
|
|
|
2018-07-08 12:11:04 +03:00
|
|
|
* Highlighter type names have been unified, types that used `_` as
|
|
|
|
word separators, such as `show_whitespaces` are now using `-`
|
|
|
|
(`show-whitespace`).
|
|
|
|
|
2018-07-04 12:42:32 +03:00
|
|
|
* `a` on end of line is not treated specially anymore, it will start
|
|
|
|
inserting on the next character, which will be the first character
|
|
|
|
of the next line.
|
|
|
|
|
2018-09-03 15:31:17 +03:00
|
|
|
* `autoshowcompl` options has been renamed `auto_complete` and is
|
2018-07-15 02:45:17 +03:00
|
|
|
now a `flags(insert|prompt)` option, allowing more granular
|
|
|
|
configuration of when the completions should be displayed
|
|
|
|
automatically.
|
|
|
|
|
2018-09-03 15:31:17 +03:00
|
|
|
* Prompt editing shortcuts have been changed to match readline.
|
|
|
|
|
2018-05-19 04:05:28 +03:00
|
|
|
== Kakoune 2018.04.13
|
|
|
|
|
|
|
|
First official Kakoune release.
|