Commit Graph

16 Commits

Author SHA1 Message Date
Maxime Coste
ac5cbba0ae Remove region highlighter, rename multi_regions to regions, cleanup 2014-07-14 21:42:19 +01:00
Maxime Coste
518c494104 Rename 'macro' face to more general 'meta'
As it is used in python/ruby for 'import' which is not really
a macro.
2014-07-13 16:57:49 +01:00
Maxime Coste
e788417e3b Use a region for c++ macro highlighting 2014-07-13 16:55:34 +01:00
Maxime Coste
b8a205b858 Use -group rather than -id in hooks to mirror highlighters closer 2014-06-16 20:42:12 +01:00
Maxime Coste
9130f0334b Remove defhl, use addhl -group 2014-06-12 22:35:40 +01:00
Maxime Coste
dac5e89e14 Add MultiRegionHighlighter
MultiRegionHighlighter provides a way to segment the buffer in
logical regions using the common left-most rule for finding the
next region. It then provides highlighting groups for each region
that can be filled.
2014-06-11 23:29:23 +01:00
Maxime Coste
37d66b1e0b Convert Region highlighter to a HierarchicalHighlighter
add a region using addhl region <id> <begin_regex> <end_regex>
then fill the region with addhl -group <id>/content ...
2014-06-10 22:02:42 +01:00
Maxime Coste
3858479d3d cpp.kak: tweak comment copy on newline
fixes #92
2014-04-10 20:14:11 +01:00
Maxime Coste
030b248a30 Remove debug commands from rc files 2014-03-31 20:05:53 +01:00
Maxime Coste
f733007a7b Port most kak scripts to be POSIX shell compliant 2014-03-06 03:35:38 +00:00
Maxime Coste
1764ce0bdc Add docstrings to some commands 2014-03-02 01:08:12 +00:00
Maxime Coste
92c425ad52 Replace remaining $kak_bufname with more correct $kak_buffile 2014-03-02 01:07:29 +00:00
Maxime Coste
a55e152eee cpp.kak: re-enable region highliting for comments and strings 2014-01-27 19:51:58 +00:00
Maxime Coste
a2ecca8d8b Region highlighters are still bugged, disable regions for cpp highlight 2014-01-22 23:32:56 +00:00
Maxime Coste
d466193ee7 Use a per line caching strategy for region highlighter 2014-01-09 22:52:39 +00:00
Maxime Coste
fa72d27f9a Make kak more installable
* Kak relies on the kakrc file to be in ../share/kak/kakrc relative
to kak binary rather than in the same directory
* Added an install target to the Makefile
2013-12-23 21:36:05 +00:00