Commit Graph

72 Commits

Author SHA1 Message Date
Maxime Coste
e788417e3b Use a region for c++ macro highlighting 2014-07-13 16:55:34 +01:00
Maxime Coste
7a080ffb41 Merge pull request #194 from alexherbo2/ruby-rc
ruby.kak: code maintenance
2014-07-10 19:16:02 +01:00
Alex Leferry 2
4b23919e92 highlight symbols in hash syntax as identifiers 2014-07-10 19:16:20 +02:00
Alex Leferry 2
bbc1e1f5c2 minor style fix 2014-07-10 16:23:15 +02:00
Alex Leferry 2
1356e9cb6b fix nested literals highlighting 2014-07-10 16:03:57 +02:00
Alex Leferry 2
84c960ea7c highlight multi-line comments 2014-07-10 01:40:04 +02:00
Alex Leferry 2
2aab87f28c fix single line comments highlighting 2014-07-10 01:40:02 +02:00
Maxime Coste
4e4680c9c6 Merge remote-tracking branch 'alexherbo2/json-rc' 2014-07-08 00:18:35 +01:00
Maxime Coste
0341aa2cbc Merge various language support scripts 2014-07-07 23:59:20 +01:00
Alex Leferry 2
3730c8445b add rc/yaml.kak 2014-07-07 23:01:24 +02:00
Alex Leferry 2
9db995c4eb add rc/ruby.kak 2014-07-07 23:00:15 +02:00
Alex Leferry 2
fad6808d2a add rc/javascript.kak 2014-07-07 22:55:01 +02:00
Alex Leferry 2
ea29a4c2d4 add rc/python.kak 2014-07-07 22:51:09 +02:00
Alex Leferry 2
31cf73bbfd minor style fix 2014-07-07 22:36:00 +02:00
Alex Leferry 2
d25a88a4ae single string is not escapable 2014-07-07 22:35:39 +02:00
Alex Leferry 2
207bb7e389 string and comment do not require white space before 2014-07-07 22:35:32 +02:00
Alex Leferry 2
0b16ca3e5e add rc/json.kak 2014-07-07 16:24:14 +01:00
Maxime Coste
f69df6560d Merge remote-tracking branch 'alexherbo2/termite-termcmd-option' 2014-07-05 12:30:57 +01:00
Alex Leferry 2
83592f5285 fish.kak: do not use shell expansion for highlighting 2014-07-05 01:00:43 +02:00
Alex Leferry 2
a8ae1d7250 client.kak: add termite in termcmd option 2014-07-04 15:43:54 +02:00
Alex Leferry 2
a73bb330ea client.kak: allow granular terminal ordering in termcmd option 2014-07-04 15:41:49 +02:00
Alex Leferry 2
0fcdbfbdd9 indent_on_char: deindent on (else|end) command insertion 2014-07-03 17:51:35 +02:00
Alex Leferry 2
1a84ca46f6 indent_on_new_line: indent after (case|else) commands 2014-07-03 17:47:11 +02:00
Alex Leferry 2
1bcec582d3 indent_on_new_line: handle 'else if' command 2014-07-03 17:20:20 +02:00
Alex Leferry 2
46d086fbbc rename clean_around_selections command to filter_around_selections 2014-07-03 01:33:06 +02:00
Alex Leferry 2
e621814a78 clean_around_selections: select full lines before filtering 2014-07-03 01:17:37 +02:00
Alex Leferry 2
9c9d56abf7 add rc/fish.kak 2014-07-03 00:31:55 +02:00
Maxime Coste
a8148d496f Add :next and :prev for cycling though grep results 2014-06-26 19:02:03 +01:00
Maxime Coste
e202b7af50 Add a line_option highlighter that highlight the line stored in an int option
Use it to highlight the current error in the *make* buffer
2014-06-18 20:50:39 +01:00
Maxime Coste
1c69764774 Merge branch 'master' into hierarchical-highlighters 2014-06-18 20:20:58 +01:00
Maxime Coste
a5ff40c107 make.kak: Add :errnext and :errprev for jumping between errors 2014-06-18 20:18:30 +01:00
Maxime Coste
62707aa82d make.kak: display error description in the status line on errjump 2014-06-18 19:32:13 +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
3ef5bf53d5 Add BufCloseFifo hook and use that to remove fifo directories 2014-06-16 19:50:20 +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
0a76fe3040 Add support for recursion in region highlighter
An optional parameter defines the recursion regex, that match
potential closers.

For example, %sh{ ... } blocks support nested { }, so defining \{
as the recurse regex make the region highlighter correctly match
%sh{ ... { ... } ... } constructs
2014-06-11 00:23:44 +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
fc13a90175 git-tools.kak: Add a 'git hide-blame' command 2014-05-09 13:51:15 +01:00
Maxime Coste
54ceb3a0d0 Use fifo buffers for git-tools command output 2014-05-06 19:39:24 +01:00
Maxime Coste
e83123de1f Add support for non-scrolling fifo buffers 2014-05-02 18:58:04 +01:00
Maxime Coste
46d5e72960 Add support for git status and checkout 2014-04-23 22:21:40 +01:00
Maxime Coste
3858479d3d cpp.kak: tweak comment copy on newline
fixes #92
2014-04-10 20:14:11 +01:00
Maxime Coste
cd6d7fdd3c client.kak: improve termcmd autodetection 2014-04-10 19:41:43 +01:00
Maxime Coste
960f823bcd make,grep: focus jumpclient when jumping to location 2014-04-07 23:47:51 +01:00
Maxime Coste
95f6f0bae9 client.kak: add a focus command for focusing a certain client. 2014-04-07 23:47:51 +01:00
Maxime Coste
409be4731f ctags.kak: fix support for tags with a tab character in search line 2014-04-07 19:06:09 +01:00
Maxime Coste
3530c04875 Support jumpclient in make.kak 2014-04-04 16:34:43 +01:00
Maxime Coste
80c6249afe make.kak: use %rec rather than :exec hack in errjump 2014-04-03 23:59:10 +01:00
Maxime Coste
cc591f015f clang.kak: hide clang_completion option 2014-04-03 19:02:29 +01:00