Commit Graph

495 Commits

Author SHA1 Message Date
Maxime Coste
593aa44c3f Forward user parameters in git blame command 2014-11-25 13:52:41 +00:00
Evert Van Petegem
7f35e92989 Add java code highlighting 2014-11-22 20:14:35 +01:00
Maxime Coste
75b7f44cf1 Add kakoune filetype -> clang filetype conversion in clang-complete 2014-11-21 13:27:43 +00:00
Maxime Coste
b3a2e4bd25 Show brief comments in clang completion description 2014-11-20 13:18:01 +00:00
Maxime Coste
d7a31f8983 jedi.kak: remove the tmp dir directly in the %sh block 2014-11-19 13:54:36 +00:00
Maxime Coste
4757cc4af6 Add diagnostics support to clang.kak 2014-11-19 13:53:31 +00:00
Maxime Coste
bec0ff0fa0 Use a 'complete' alias for file type specific completer 2014-11-18 13:55:52 +00:00
Maxime Coste
6c47b204e2 Support windows style path in grep output 2014-11-11 13:58:12 +00:00
Maxime Coste
9b2611a611 Support windows style path in make output 2014-11-11 13:56:21 +00:00
Maxime Coste
d8f49b6fac Tweak clang completion docstring format 2014-11-11 13:55:26 +00:00
Maxime Coste
e8b0a98a78 Remove %rec{...} strings, now "..." strings expand their content 2014-11-11 13:53:57 +00:00
Maxime Coste
2062405f27 Back to an awk based clang completion parsing for better docstrings
docstring now display all accessible overloads of a function
2014-11-11 01:03:00 +00:00
Maxime Coste
7d4c9c2ccf Support hinting if an inline info should be above or below the anchor
Used by ctags function info, we always want it *above* the opening
parenthesis so that it does not hide multi line parameter lists.
2014-11-10 13:37:17 +00:00
Maxime Coste
484fffc288 Initial support for insert completion docstring 2014-11-07 13:54:43 +00:00
Maxime Coste
35ce3918be Remove unneeded capture groups from rust highlighting 2014-11-07 13:18:37 +00:00
Maxime Coste
8ffecb8e77 fix typo in jedi.kak 2014-11-07 13:14:51 +00:00
Maxime Coste
e8f2ebb737 Tweak completer scripts 2014-11-06 19:17:13 +00:00
Maxime Coste
23d6b0ea2d Remove clang cleanup hooks once they ran 2014-11-05 21:12:29 +00:00
Maxime Coste
66c8738aca Add initial jedi python completion script 2014-11-05 21:12:21 +00:00
Maxime Coste
dc5742cf20 Fix escaping of ' in single quote python strings 2014-11-05 21:02:06 +00:00
Maxime Coste
0d620c3905 cpp.kak: tweak cpp-alternative-file implementation 2014-11-05 13:43:29 +00:00
Maxime Coste
549d28e5ab update cpp highlight, add constexpr 2014-11-04 22:23:28 +00:00
Maxime Coste
16bb1b4835 update kakrc highlight, add alias/unalias 2014-11-04 22:23:28 +00:00
Maxime Coste
9a2822e329 Change :info -anchor option, take directly a buffer coordinate
Fix ctags funcinfo feature using that
2014-10-31 21:49:36 +00:00
Maxime Coste
2c2d57f671 much simple clang completion script 2014-10-31 20:53:36 +00:00
Maxime Coste
5c05c88342 Fix clang autocompletion 2014-10-30 14:02:13 +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
cd24bf93e8 Get non completion clang output into a buffer when completing 2014-10-24 18:46:42 +01:00
Maxime Coste
a6d73bb928 Fix tag command, using IFS is a *bad* idea 2014-10-23 19:25:39 +01:00
Maxime Coste
8ff67ee415 cpp.kak: highlight cast operators 2014-10-22 19:32:04 +01:00
Maxime Coste
7a2afbcf48 Add support for a ctagsfiles option that lists all tags to read from
Results from all tags will be merged

Fixes #22
2014-10-12 18:51:27 +01:00
Maxime Coste
1bf5a1eee5 Improve sh highlighting 2014-10-12 12:27:19 +01:00
Maxime Coste
75d0b97af1 Fix ragel.kak highlighting 2014-10-07 09:16:19 +01:00
Maxime Coste
e0c98055ab Fix cpp indentation align to opening paren 2014-10-07 09:16:19 +01:00
Maxime Coste
008ba2cbab Use ',' instead of '|' as tuple option fields separators 2014-10-06 19:32:25 +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
baa9dd2474 Fix git commit message highlighting 2014-09-11 19:37:34 +01:00
Maxime Coste
7fc1564c0c Use bold attribute for current line in make and grep buffers 2014-09-08 19:32:46 +01:00
Maxime Coste
289cb0485e cpp.kak: fix copying of comments to next line 2014-08-30 14:56:01 +01:00
Maxime Coste
f96fa66a41 Update kakrc highlighting 2014-08-26 22:11:05 +01:00
Maxime Coste
541ec58d76 git-tools: list available commands in git docstring 2014-08-17 15:45:01 +01:00
Maxime Coste
2d42783dbd git-tools.kak: Add completion support to git command 2014-08-14 19:42:24 +01:00
Maxime Coste
89956b5347 make.kak: Make column optional. 2014-08-02 09:54:28 +01:00
Maxime Coste
beb6065a71 Add a -existing switch to edit command
with this switch, fail if the file is not found rather than creating
a new one. Use that in grep and make jump commands.
2014-07-31 22:10:01 +01:00
Maxime Coste
97a8b1ffb0 Merge some more language support from alexherbo2
* alexherbo2/haml-rc
 * alexherbo2/cucumber-rc
 * alexherbo2/sass-rc
 * alexherbo2/scss-rc
 * alexherbo2/ragel-rc
 * alexherbo2/coffee-rc
 * alexherbo2/rust-rc
2014-07-30 20:46:25 +01:00
Maxime Coste
c6eea12f76 Merge union handling fix in cpp.kak from davidaciko 2014-07-30 00:41:56 +01:00
Maxime Coste
de8b0f3b41 Merge support for some additional languages from alexherbo2
* alexherbo2/lisp-rc
 * alexherbo2/clojure-rc
 * alexherbo2/haskell-rc
 * alexherbo2/scala-rc
 * alexherbo2/markdown-rc
 * alexherbo2/css-rc
 * alexherbo2/html-rc
2014-07-30 00:36:49 +01:00
davidaciko
9b0b20f2d4 cpp.kak: Added union support to automatic semicolon after block 2014-07-29 10:18:57 +00:00
Maxime Coste
6e4b0f5781 make.kak: Support fatal errors in errnext / errprev 2014-07-28 19:40:34 +01:00
Alex Leferry 2
507040e8e3 add rc/ragel.kak 2014-07-25 23:03:41 +02:00
Alex Leferry 2
a9aad2a9c9 add rc/rust.kak 2014-07-21 01:37:55 +02:00
Alex Leferry 2
ce1bc291ce add rc/clojure.kak 2014-07-21 01:15:50 +02:00
Alex Leferry 2
9efa00032b add rc/lisp.kak 2014-07-21 01:05:41 +02:00
Alex Leferry 2
fce9d18041 add rc/scss.kak 2014-07-21 01:00:59 +02:00
Alex Leferry 2
ecc49e209b add rc/haskell.kak 2014-07-21 00:25:01 +02:00
Alex Leferry 2
576d4baa19 add rc/scala.kak 2014-07-16 15:06:32 +02:00
Alex Leferry 2
73ab9cfe71 ruby.kak: fix identifier highlighting 2014-07-16 14:22:18 +02:00
Alex Leferry 2
c4a6f5fa96 ruby.kak: indent on opener / closer tokens 2014-07-16 14:22:15 +02:00
Alex Leferry 2
cd656ae4eb javascript.kak: fix indent on closer token 2014-07-16 13:56:40 +02:00
Alex Leferry 2
2e8956356b add rc/cucumber.kak 2014-07-16 00:01:32 +02:00
Alex Leferry 2
163d310371 add rc/coffee.kak 2014-07-14 23:22:59 +02:00
Alex Leferry 2
744e337102 add rc/html.kak 2014-07-14 23:22:09 +02:00
Alex Leferry 2
b755d4a82e add rc/css.kak 2014-07-14 23:21:47 +02:00
Alex Leferry 2
d2388929f1 add rc/haml.kak 2014-07-14 23:21:21 +02:00
Alex Leferry 2
0c1f58ad89 add rc/sass.kak 2014-07-14 23:20:51 +02:00
Alex Leferry 2
bb9b0f6db0 add rc/markdown.kak 2014-07-14 23:18:54 +02:00
Maxime Coste
ac5cbba0ae Remove region highlighter, rename multi_regions to regions, cleanup 2014-07-14 21:42:19 +01:00
Maxime Coste
85d971f062 Port sh.kak to multi_regions 2014-07-14 20:59:36 +01:00
Maxime Coste
563156992f Merge remote-tracking branch 'alexherbo2/javascript-rc' 2014-07-13 16:59:12 +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
Alex Leferry 2
fdfb65194c highlight '$' identifiers 2014-07-11 01:38:24 +02: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
Maxime Coste
030b248a30 Remove debug commands from rc files 2014-03-31 20:05:53 +01:00
Maxime Coste
7dc5588adc clang.kak: clear remaining commas in template argument lists 2014-03-29 09:11:09 +00:00
Maxime Coste
71374139c9 port ctags.kak to posix awk 2014-03-28 21:15:39 +00:00
Maxime Coste
126d61aa86 port clang.kak to awk rather than perl 2014-03-27 22:00:14 +00:00
Maxime Coste
709dc87fcc port git-tools.kak from bash to posix shell + posix awk 2014-03-25 09:25:37 +00:00
Maxime Coste
36b016226c Insert mode completion execute completers in order, and supports multiple option
The 'completions' option is gone, just add option=completion_option_name
in the completers list.
2014-03-15 03:17:17 +00:00
Maxime Coste
03760e5ba1 Fix man command 2014-03-06 21:33:01 +00:00
Maxime Coste
f733007a7b Port most kak scripts to be POSIX shell compliant 2014-03-06 03:35:38 +00:00
Maxime Coste
30093413f7 Replace uses of socat with kak -p <session> 2014-03-02 02:05: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
ffe4ea4722 git-tools.kak uses $kak_buffile rather than $kak_bufname 2014-03-02 01:06:20 +00:00
Maxime Coste
6585000b66 Use proper buffer filename rather than name in mime.kak 2014-02-27 06:44:28 +00:00
Maxime Coste
b0c2906890 kakrc highlighting: strings closing delimiters do not need to be followed by a whitespace 2014-02-25 01:10:47 +00:00
Maxime Coste
00c1523c6e fix clang auto completion at eol 2014-01-27 19:51:58 +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
a2c58d40b8 Use regions for string highlighting in kakrc files 2014-01-18 11:48:07 +00:00
Maxime Coste
d466193ee7 Use a per line caching strategy for region highlighter 2014-01-09 22:52:39 +00:00
Maxime Coste
c39745060e man.kak: use Error color for errors 2014-01-08 19:23:43 +00:00
Maxime Coste
5808b0a228 Remove unmaintained global.kak 2013-12-23 21:52:59 +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