Maxime Coste
55f6ca7431
Merge remote-tracking branch 'lenormf/rc/autorestore.kak'
2015-07-31 14:01:07 +01:00
Frank LENORMAND
cf149b7985
Add an automatic backup restoration script that handles .kak.XXXXXX files
2015-07-30 18:43:57 +03:00
Frank LENORMAND
560a02e386
Add the object type to the list of python highlighted types
2015-07-30 18:10:35 +03:00
Frank LENORMAND
ddaa31a300
Highlight python types, when they are not used as constructors
2015-07-30 17:59:22 +03:00
Frank LENORMAND
8287977c2d
Improve the autowrap script
2015-07-29 11:48:07 +03:00
Maxime Coste
15a34be46d
Merge branch 'master' into colorscheme
2015-07-03 21:33:08 +01:00
Maxime Coste
742fdc1f7d
Recognize colorscheme command in kakrc files and in README
2015-07-03 21:14:08 +01:00
Maxime Coste
93b6534ef1
man.kak: Add basic completion to man command
2015-07-03 21:00:10 +01:00
xificurC
8813580516
fix shell string start and end regex
2015-07-02 21:59:34 +02:00
Gokcehan Kara
3e428f2251
add rc/julia.kak
2015-06-28 15:20:23 +03:00
Maxime Coste
71081f3823
Add autowrap.kak providing auto word wrapping hook
2015-07-24 14:02:32 +01:00
Frank LENORMAND
6ee2acd674
Add an option to auto-format Go buffers on write
2015-07-22 12:02:10 +03:00
Maxime Coste
5ed9fd2763
Remove golang hooks on filetype change to non-go
2015-07-21 23:41:07 +01:00
Maxime Coste
0ad2aaf54a
Merge remote-tracking branch 'lenormf/rc/golang.kak'
2015-07-21 23:35:30 +01:00
Maxime Coste
fd0ba130f8
Merge remote-tracking branch 'lenormf/c-hexa'
2015-07-21 23:35:16 +01:00
Frank LENORMAND
715a19f7c4
Add a Go script, containing highlighters and auto-indent functions
2015-07-21 11:22:57 +03:00
Frank LENORMAND
6d70c37bd3
Add support for hexadecimal numbers to the C family languages
2015-07-20 17:31:33 +03:00
Maxime Coste
da2e2d5380
Merge remote-tracking branch 'alexherbo2/dockerfile-rc'
2015-07-20 13:18:20 +01:00
Maxime Coste
d8fe238c11
Fix :man completion on unknown man pages
2015-07-20 13:16:05 +01:00
Alex Leferry 2
04fa164e2d
add rc/dockerfile.kak
2015-07-18 23:12:05 +02:00
Frank LENORMAND
54604693bc
Add more file extensions and keywords to the shell script highlighter
2015-07-17 20:36:33 +03:00
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
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