Frank LENORMAND
7db9062122
rc spell: Don't use expr
to format-check
...
The regular pattern based on `printf`/`grep` is cleaner and less
error prone.
2020-05-15 12:19:29 +03:00
Maxime Coste
b6041e60ac
Merge pull request #3469 from lenormf/patch-7
...
rc spell: Fix off-by-one highlighting glitch
2020-05-14 09:11:17 +10:00
Maxime Coste
151eb3299d
Fix CSI u parsing of some special keys
2020-05-12 08:50:27 +10:00
Maxime Coste
60154300f9
Support piping data to client stdin
...
Pass the client stdin fd to the server and open a fifo buffer
from it.
Fixes #3394
2020-05-10 19:30:13 +10:00
Maxime Coste
2104af0771
Fix select_sentence going past the end of the buffer
...
Fixes #3472
2020-05-10 15:13:15 +10:00
Frank LENORMAND
9bc6bddcac
rc spell: Fix off-by-one highlighting glitch
2020-05-07 10:40:25 +00:00
Maxime Coste
295a77b23a
Merge branch 'docs' of https://github.com/migueldvb/kakoune
2020-05-03 13:48:59 +10:00
Maxime Coste
f4efde7e08
Merge remote-tracking branch 'krobelus/kak-c-initial-buffer-pos'
2020-05-03 13:20:44 +10:00
Miguel de Val-Borro
3efb3a3e43
Fix some typos in docs
2020-05-02 11:43:33 -04:00
Maxime Coste
2fca4e5643
Fix traling whitespaces
2020-05-02 13:02:10 +10:00
Maxime Coste
ccecd5bd8e
Add support for alpha channel in colors
...
This makes it easier to define faces that lighten/darken whatever
they apply on.
2020-05-02 12:57:36 +10:00
Frank LENORMAND
c6906be475
rc man: Make the use of $MANPATH
portable
2020-05-02 11:59:06 +10:00
Johannes Altmanninger
c010f14a7c
Fix +line:col initial buffer position when connecting to session
...
A command line argument like +line[:column] can be used to specify a
target line and column for the first file.
This did not work when connecting to a session, because the client
opens its file parameter with `-e "edit file1; edit file2"` which is
executed after the initial buffer position is set. Work around this by
passing the position to the first file and avoid moving the cursor
in unrelated files.
Reproduce:
kak -s foo
kak -c foo +4:11 README.asciidoc
2020-05-01 10:05:37 +02:00
Maxime Coste
83cdaee002
Merge remote-tracking branch 'JJK96/spell'
2020-04-30 19:23:27 +10:00
Maxime Coste
db8f19c51f
Merge remote-tracking branch 'eraserhd/fix-kitty'
2020-04-30 19:22:07 +10:00
Jason Felice
d287251326
Split modules and allow kitty-send-text to take a parameter
2020-04-27 11:58:39 -04:00
Jan-Jaap Korpershoek
063a702bf4
Add error handling
...
Rewrite line by line to make escaping easier
2020-04-27 12:28:29 +02:00
Jan-Jaap Korpershoek
246735520f
Add spell-add command
2020-04-27 11:57:14 +02:00
Maxime Coste
ceff2286af
Fix clang compilation
2020-04-27 17:41:09 +10:00
Maxime Coste
50dc0099c3
Add multi-line replace-range in changelog
2020-04-27 17:41:09 +10:00
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