Commit Graph

17 Commits

Author SHA1 Message Date
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
ca38e10314 Make shell variable expansion in "strings" highlighted the same way as in code 2017-05-25 19:54:08 +01:00
Maxime Coste
a84d7cf06b Add break and continue to the list of sh keywords 2017-05-25 19:54:08 +01:00
Nick Mosher
e1927fa9c4 Adds faces module and function. Renames identifier face to variable. 2017-02-09 21:43:29 -05:00
Maxime Coste
033ded15ae Add proper heredoc highlighting support to sh.kak 2017-02-06 23:00:20 +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
aca984f000 Highlight variable expansions as values in shell scripts 2016-11-08 19:03:41 +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
Frank LENORMAND
7419f8241a Fix operators highlighting in shell scripts 2016-07-08 13:13:08 +03:00
Maxime Coste
3f74dd2924 Remove uses of \< and \>, always use std regex compatible \b 2016-04-21 20:43:17 +01:00
Frank LENORMAND
464007e332 Fix hook declarations 2016-03-25 21:31:01 +02:00
Frank LENORMAND
4bb5658206 Replace non-POSIX here-strings and calls to echo 2016-03-17 15:32:32 +02:00
Frank LENORMAND
3079d2a7e3 Replace non-POSIX inline character replacement in shell scripts 2016-03-14 18:29:11 +02:00
Frank LENORMAND
98594cf6df Add static completion suggestions to several languages, set autopep8 as default python formatter 2016-03-14 14:10:49 +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