Olivier Perret
f085e43bf9
Unify auto-indent trimming hooks
...
* ModeChange hooks that remove indent now belong to *-trim-indent groups, instead of just -indent
* *-filter-around-selections hooks and commands have been renamed to trim-indent for clarity
2018-12-19 10:20:11 +01:00
Olivier Perret
27f951638c
Execute cleanup hooks on any filetype change
2018-12-11 00:35:57 +01:00
Olivier Perret
898d45f5d5
Change cleanup of base/ languages to use a simpler hook -once
2018-12-11 00:13:30 +01:00
Maxime Coste
086db6a9d3
Fix extra_word_chars in various scripts
...
Add '_' to the list now that it is not built-in anymore
2018-11-28 18:13:55 +11:00
Delapouite
425aa56eaf
Use remove-hooks regex in rc
2018-09-19 19:59:57 +02:00
Maxime Coste
2e0e206951
Make recurse regex opt-in with a -recurse switch instead of opt-out
2018-07-05 07:54:28 +10:00
Maxime Coste
9ea6b88c1f
Fix remaining kak scripts to use the new highlighter syntax
2018-07-05 07:54:28 +10:00
Delapouite
d09256ec4c
Add extra_word_chars '-' to css.kak
2018-03-21 07:59:40 +01:00
Maxime Coste
43f50c0852
Convert bundled scripts to ModeChange hook
2018-01-21 10:35:05 +11:00
Frank LENORMAND
9127ed0d55
src rc: Rename exec
/eval
into execute-keys
/evaluate-commands
2017-11-03 11:09:45 +03:00
Frank LENORMAND
c9b280b712
rc: Don't use command aliases to highlight keywords properly
2017-11-03 10:34:41 +03:00
Maxime Coste
d49555fc75
Move highlighters into Scopes
...
That means we can now have highlighters active at global, buffer, and
window scope. The add-highlighter and remove-highlighter syntax changed
to take the parent path (scope/group/...) as a mandatory argument,
superseeding the previous -group switch.
2017-10-28 13:43:04 +08:00
Maxime Coste
80d661e6a7
rc/: More consistent uses of regex syntax
...
Always use \A \z for subject start/end, always \b for word boundaries
2017-10-25 10:27:25 +08:00
Delapouite
2001a9a087
css.kak: add hl to more common CSS length units
2017-09-06 12:08:49 +02:00
Nick Mosher
e1927fa9c4
Adds faces module and function. Renames identifier face to variable.
2017-02-09 21:43:29 -05:00
Maxime Coste
5ad4499503
Fix naming conventions in bundled scripts
...
Do not use _ prefix for hidden commands, use - as a word separator
in command names.
2017-01-13 01:00:43 +00:00
Maxime Coste
91a56c11fe
Various auto indent fixes regarding wrong use of x instead of <a-x>
2017-01-13 00:50:03 +00:00
Alex Leferry 2
671b50bb52
update command names
2017-01-04 13:04:27 +01:00
Martin Chaine
7384288e07
transform mimetype to a fallback option
...
The option is now used as a fallback when detection by extension fails. Some
scripts like `base/mail.kak` and `base/html.kak` still rely heavily on it.
2016-12-06 17:48:46 +01:00
Frank LENORMAND
5db1d1beef
Move the commenting variables back to commenting.kak
...
Initialising the `comment_line_chars` and `comment_selection_chars` variables
in language support scripts created a hard dependency of those scripts
to `commenting.kak`, which would create errors when this script was not
loaded, e.g. when running tests.
2016-10-14 22:12:01 +03:00
greduan
a68f5f20a1
Add highlight group to highlighters rmhl hooks
2016-09-28 08:45:01 +02:00
greduan
6c6359de93
Add highlight group to highlighters addhl hooks
2016-09-28 08:25:02 +02:00
Maxime Coste
fef0277998
Reorganise rc/ into subdirectories
...
* core: set of tools to work on kakoune source code
* base: very common languages and tools
* extra: less common languages and tools
2016-01-29 09:03:23 +00:00