Maxime Coste
e69b369e6f
Merge remote-tracking branch 'ifreund/meson-syntax'
2020-04-27 17:40:45 +10:00
Maxime Coste
5556e0173c
Merge remote-tracking branch 'Guest0x0/master'
2020-04-27 17:40:38 +10:00
Maxime Coste
35e8e12b12
Merge branch 'netbsd-1' of https://github.com/krytarowski/kakoune
2020-04-27 17:40:33 +10:00
Maxime Coste
954373d3cf
Support multi-line replace-ranges
...
This likely has lots of rough edges, but should be an initial proof
of concept to support folding.
2020-04-27 17:39:21 +10:00
Maxime Coste
65620fb830
Display all failing ui_out in tests instead of just the first one
2020-04-27 17:39:21 +10:00
Maxime Coste
cb119251bc
Do not replace partially selected ranges in replace-ranges highlighter
...
Partially selected ranges should not be replaced to make it possible
to see what is actually selected.
2020-04-27 17:39:21 +10:00
Maxime Coste
0fdfbdfd15
Fix highlighting empty ranges at end of line and begin of line
2020-04-27 14:31:26 +10:00
Maxime Coste
fde4c60dd9
Factor option based highlighters
2020-04-27 14:31:26 +10:00
Guest0x0
69e45dce38
basic syntax highlighting & indentation for the Coq language
2020-04-23 21:07:37 +08:00
Kamil Rytarowski
22931bdc1f
Fix get_kak_binary_path() for NetBSD
...
Pass correct mib[] to sysctl(3).
2020-04-23 03:24:24 +02:00
Maxime Coste
f7ad8bd70e
Highlight mail References headers
2020-04-21 13:21:35 +10:00
Maxime Coste
6dc17cb3b3
Complete man pages from MANPATH as well
2020-04-21 13:21:35 +10:00
Maxime Coste
a33b938652
Fix issue with select object and empty matches
2020-04-21 13:21:35 +10:00
Isaac Freund
b0fb7fce63
Highlight meson_options.txt as well
2020-04-15 02:49:21 +02:00
Isaac Freund
8ad6746cc8
Add basic highlighting for meson
2020-04-15 01:04:44 +02:00
Maxime Coste
952aa0ed0a
Drop trailing EOL in test commands
2020-04-13 13:36:29 +10:00
Maxime Coste
562ee6143a
Parse ascii newline/tab/escape as special keys instead of control keys
...
Fixes #3439
2020-04-13 12:44:15 +10:00
Maxime Coste
8000cd092f
Fix internal command naming
2020-04-13 12:24:45 +10:00
Maxime Coste
91e3a58a3a
Merge remote-tracking branch 'lenormf/fix-3410'
2020-04-13 11:09:08 +10:00
Maxime Coste
fd454f90f9
Merge remote-tracking branch 'ifreund/zig-syntax'
2020-04-13 11:08:32 +10:00
Maxime Coste
52a80defd6
Merge remote-tracking branch 'Laaas/patch-1'
2020-04-13 11:07:09 +10:00
Daniel Lewan
635353bbd6
fix link in registers docs
2020-04-12 14:26:14 +02:00
Maxime Coste
54e0396c84
Merge remote-tracking branch 'codesoap/awkcomment'
2020-04-09 07:50:11 +10:00
Maxime Coste
0fb479f0c2
Merge branch 'netbsd' of http://github.com/niacat/kakoune
2020-04-09 07:42:53 +10:00
Maxime Coste
b3983dd523
Merge remote-tracking branch 'eraserhd/diff-objects'
2020-04-09 07:42:01 +10:00
Maxime Coste
63df04b6e0
Merge remote-tracking branch 'lenormf/fix-lint'
2020-04-09 07:41:54 +10:00
Aaron Bull Schaefer
de2b3f9b9a
Add filetype support for CUE language
...
This follows the upstream spec as closely as possible.
See:
- https://cuelang.org
- https://cuelang.org/docs/references/spec/
2020-04-06 12:03:54 -07:00
Maxime Coste
f7a2ecfacb
Support empty ranges in replace-ranges highlighter
2020-04-06 11:23:47 +10:00
Jason Felice
7e5936ba23
diff.kak: add diff file and diff hunk text objects
2020-04-03 15:48:54 -04:00
Maxime Coste
c585107ab5
Add -override support to add-highlighter
...
This allow replacing a highlighter in place, not loosing its current
position in its parent.
Fixes #3436
2020-03-30 21:04:01 +11:00
Maxime Coste
b42885ef71
Fix empty strings not being zero terminated
2020-03-29 20:28:56 +11:00
Frank LENORMAND
7d987c013e
rc lint: Check the lintcmd
option is set in :lint-buffer
...
Calling `:lint-buffer` when `lintcmd` is empty results in a temporary
directory being created, but never removed when the underlying linting
code errors out.
2020-03-27 10:20:40 +03:00
Maxime Coste
8f30e37507
Untie focus reporting and mouse handling
2020-03-27 07:54:21 +11:00
Las
e142a37f21
rc ruby: Don't recognize "keyword"-like identifiers
...
In Ruby, identifiers can end with a `!` or `?` too, which means that `class!` or `end?`are not actually keywords, but regular identifiers. This fixes that by not using `\b` but `[^0-9A-Za-z_!?]` instead in some places.
2020-03-25 21:18:21 +09:00
Isaac Freund
9396f508c2
Fix indentation of auto-extended comments
2020-03-22 20:19:43 +01:00
Isaac Freund
6198cc5e47
Encapsulate zig highlighting and commands in a module
2020-03-22 19:24:39 +01:00
Isaac Freund
3098557e25
Add indent rules
2020-03-22 19:18:15 +01:00
nia
7d4a83a449
|| -> or for consistency
2020-03-22 11:00:27 +00:00
nia
28982aae92
Fix build on NetBSD
2020-03-22 10:49:06 +00:00
Isaac Freund
23b28df1b8
Use attribute face where appropriate
2020-03-22 10:50:29 +01:00
codesoap
94cdd3f9e3
rc spell: Avoid C-style comments in awk
2020-03-22 08:13:30 +01:00
Isaac Freund
6190f8ce70
Add syntax highlighting for zig
2020-03-21 22:46:19 +01:00
Isaac Freund
e7044d7eeb
Isaac Freund Copyright Waiver
...
I dedicate any and all copyright interest in this software to the
public domain. I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors. I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.
2020-03-21 22:41:54 +01:00
Mikhail Pogretskiy
57c62b2a10
rc lua: Improve indent hooks behavior, add '...' highlighting
2020-03-20 23:12:46 +07:00
Maxime Coste
3c265acd6c
Remove posB from information given by the diff algorithm
...
posB is always the sum of previous add len and previous keep len,
so very easy to keep track of.
2020-03-20 20:27:50 +11:00
Maxime Coste
401ef84a4b
Remove uses of reverse_iterator in diff implementation
2020-03-20 20:24:42 +11:00
Frank LENORMAND
07d702e419
src: Fix a compilation bug with g++-8
...
The Ubuntu Disco distribution comes with `g++` v8 installed by default,
which is not able to deduce the return type of a particular call to
`transform()`.
This commit explicitly declares the return type to mitigate that
problem, and allow the file to compile.
Fixes #3410
2020-03-17 09:00:29 +03:00
Maxime Coste
329f291ae0
Merge remote-tracking branch 'Anfid/hunk-seek-wrap'
2020-03-15 12:35:50 +11:00
Maxime Coste
1b28a19058
Merge remote-tracking branch 'Anfid/scroll-test'
2020-03-15 12:32:54 +11:00
Maxime Coste
09375edf54
Merge remote-tracking branch 'occivink/arrange-buffers'
2020-03-15 12:18:04 +11:00