Commit Graph

25 Commits

Author SHA1 Message Date
Maxime Coste
549d28e5ab update cpp highlight, add constexpr 2014-11-04 22:23:28 +00:00
Maxime Coste
13ce49009d Use an alias for the :alt command defined in cpp.kak 2014-10-30 14:02:13 +00:00
Maxime Coste
8ff67ee415 cpp.kak: highlight cast operators 2014-10-22 19:32:04 +01:00
Maxime Coste
e0c98055ab Fix cpp indentation align to opening paren 2014-10-07 09:16:19 +01:00
Maxime Coste
cf01227e1c cpp.kak: #if 0 stop at next endif or else or elif 2014-10-01 23:30:32 +01:00
Maxime Coste
ba3c18e674 cpp.kak: grey out code in #if 0 2014-09-26 00:32:08 +01:00
Maxime Coste
bfef8fd5aa Fix some cpp autoindent hooks 2014-09-25 19:27:31 +01:00
Maxime Coste
289cb0485e cpp.kak: fix copying of comments to next line 2014-08-30 14:56:01 +01:00
davidaciko
9b0b20f2d4 cpp.kak: Added union support to automatic semicolon after block 2014-07-29 10:18:57 +00:00
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