Commit Graph

185 Commits

Author SHA1 Message Date
Maxime Coste
5b554ff474 Add support for command completion on commands, use it for :new
That means commands can be completed using other commands and their
completers. Yes that does makes sense.

Closes #296
2015-06-26 13:57:23 +01:00
Maxime Coste
19a6b16e25 Merge remote-tracking branch 'jkonecny/master-kickstart' 2015-06-13 09:55:45 +01:00
Jiří Konečný
a25a9e1026 Add syntax highlighter for kickstart files 2015-06-13 10:27:22 +02:00
Maxime Coste
b560011f12 Merge remote-tracking branch 'jkonecny/master-fix-shell' 2015-06-12 18:28:20 +01:00
Jiří Konečný
cc69e8f81e Fix shell highlighter for comments and variables
Fix $# was processed as comment but it's variable.
Add highlighting for $#, $$, $!, $@, $?, $-, $* as variables too.
2015-06-12 17:34:43 +02:00
Jiří Konečný
d5a50d4f7b Add first and second line highlighting git-commit
First 50 characters are recommended for subject line. They are highlighted
with yellow color.
The subject line wants an empty second line, so every characters (except
for comments) on second line are highlighted with red background.
2015-06-11 19:07:51 +02:00
Maxime Coste
6cb7e20d54 Fix grep/make.kak with new behaviour for gl/gh 2015-06-08 22:33:32 +01:00
Alex Leferry 2
e01126214e detect ClojureScript files 2015-06-06 11:41:47 +02:00
Maxime Coste
ccfb87ecf3 git-tools: support git rm and avoid interpreting git output 2015-05-23 10:56:52 +01:00
Maxime Coste
a006c20979 Merge remote-tracking branch 'origin/master' 2015-05-12 00:56:28 +01:00
Maxime Coste
4a843ec8d4 clear git blame flags option when hiding git blame 2015-05-10 17:20:42 +01:00
Benoît Laurent
4ab01ff80d Use named colors in highlighting configuration for markup languages. 2015-05-09 22:03:41 +02:00
Maxime Coste
1a1db1cb3a {line,column}_option highlighters use an expanded string instead of an option name
That allows access to non option values, such as cursor_column or cursor_line with
:addhl line '%val{cursor_line}' default,rgb:404040

Fixes #38
2015-05-04 17:12:51 +01:00
Maxime Coste
0ab4ac5515 Improve asciidoc highlighting 2015-04-30 19:18:20 +01:00
Maxime Coste
1bbb4ce29c Add some missing operators to C++ highlighting 2015-04-30 13:45:48 +01:00
Maxime Coste
dd9533e625 Small tweak in c-family-alternative-file error handling 2015-04-21 13:21:24 +01:00
Maxime Coste
db9d679f8e Tweak escaping in errjump 2015-04-10 23:45:09 +01:00
Maxime Coste
166682d802 git-tools.kak: tweak git-status highlighting 2015-03-30 23:06:46 +01:00
Maxime Coste
d0f504be27 Inform user when clang parsing finished 2015-03-14 11:27:35 +00:00
Maxime Coste
866b3358c9 Fix clang.kak escaping, go back to a hook for removing tmp dir
Previous trap based solution could end up with sh waiting on a
closed fifo.
2015-03-03 23:24:12 +00:00
Maxime Coste
4ce589f9a7 Fix removing of fifo directories, remove the hook itself once done 2015-02-20 18:43:09 +00:00
Maxime Coste
5cefaa1819 clang.kak: add a clang-diagnostics-next command
clang-diagnostics-next will jump to the next line with a clang
error/warning.
2015-02-18 13:56:13 +00:00
Maxime Coste
15bb048428 clang.kak: use trap to remove the temporary directory, fix escaping problems 2015-02-18 13:55:47 +00:00
Maxime Coste
61ff8a9bb2 fix indentation in clang.kak 2015-02-03 00:42:40 +00:00
Maxime Coste
b4661e37d2 Fix tabs in clang.kak and improve escaping 2015-01-30 13:42:13 +00:00
Maxime Coste
47c8a4378f fix :tag when a '<' is present in the search pattern 2015-01-30 13:41:14 +00:00
Maxime Coste
02adf234b4 jedi.kak: use the docstring as completion doc 2015-01-23 19:11:19 +00:00
Maxime Coste
3b0e9331a7 Fix git show-diff 2015-01-22 21:18:59 +00:00
Maxime Coste
d737929b9e git-tools: detect options not needing commit message edition 2015-01-21 13:44:05 +00:00
Maxime Coste
c79cd59314 git-tools: Add initial git commit support 2015-01-16 13:57:10 +00:00
Maxime Coste
da600ff504 Fix git status highlighting 2015-01-15 19:58:17 +00:00
Maxime Coste
abe3856d29 c-family.kak: Just remove trailing indent on InsertEnd 2014-12-18 19:33:57 +00:00
Maxime Coste
8d7ddfdf8b Only remove trailing whitespaces on InsertEnd when last insert was auto indent
Fixes #242
2014-12-17 13:58:05 +00:00
Maxime Coste
51b88bef10 small tweak in objective c highlight 2014-12-03 19:46:55 +00:00
Jimmy Thrasher
eddad89915 Support @"" style strings for Obj-C syntax highlighting 2014-12-02 11:44:02 -05:00
Jimmy Thrasher
e540dc7f9e Add mime-type check for Obj-C in case the user's file cmd supports it 2014-12-02 11:15:53 -05:00
Jimmy Thrasher
d73fe2cc6d Add some missing obj-c highlight patterns to the new c-family.kak 2014-12-02 09:39:57 -05:00
Maxime Coste
798d4c3a1e use printf rather than echo in c-family.kak
According to POSIX, echo with a backspace in any arg is undefined
behaviour...
2014-12-01 19:33:15 +00:00
Maxime Coste
6c45b1d1e2 Try to unify objective c and cpp in a c-family.kak file 2014-12-01 13:52:24 +00:00
Maxime Coste
1f89509df9 make clang useable just for syntax checking with clang-parse command 2014-11-27 13:42:36 +00:00
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