Maxime Coste
c8fde1bf33
Merge remote-tracking branch 'krobelus/01-fish-single-quote-highlighting'
2020-05-30 09:07:01 +10:00
Maxime Coste
d90f8d4324
Merge remote-tracking branch 'lenormf/remove-lint-enable'
2020-05-30 09:05:53 +10:00
Frank LENORMAND
b4f2c3fe91
rc lint: Remove the concept of "enabling" linting
...
This commit renames `lint-enable` into `lint-show-diagnostics`,
makes it hidden, and calls it automatically after diagnostics have
been recovered by `:lint-cleaned-selections`.
The `lint-disable` command becomes `lint-hide-diagnostics`.
The concept of "enabling" diagnostics was inherited from the Clang
support script, but in that case it's not clear why calling `:lint`
should do the work but not render it (similarly to `:spell`).
The `lint-show` command was also renamed into a more descriptive
`lint-show-current-line`.
2020-05-29 14:39:39 +03:00
Maxime Coste
08e0b663f7
Fix unintended interpretation of ranges length syntax
...
Ranges specified with a +<length> were inconsistent, with +0 meaning
an empty range, while +1 meant a two character long range (first character
+ the following one). Change that to mean a single character.
Fixes #3479
2020-05-29 12:25:57 +10:00
Maxime Coste
63371da8aa
Avoid to_remove vector in select helper function
...
Remove the need to allocate anything when removing selections.
2020-05-29 12:00:02 +10:00
Maxime Coste
94f33bb638
Add a range based remove_if overload
2020-05-29 11:59:03 +10:00
Johannes Altmanninger
62f61df08f
fish.kak: add new fish builtins
...
eval is a proper builtin as well now
2020-05-28 21:49:47 +02:00
Johannes Altmanninger
bb865a18c1
fish.kak: fix highlighting for single quoted strings
...
fish allows to escape single quotes within single quoted strings,
just like double quotes in double quoted strings.
https://fishshell.com/docs/current/index.html#quotes
2020-05-28 21:49:47 +02:00
Maxime Coste
109abbeed4
Fix invalid regions with begin > end being generated
...
Fixes #3495
2020-05-28 20:58:46 +10:00
Maxime Coste
aad20f6576
Merge remote-tracking branch 'krobelus/paragraph-begin-oob'
2020-05-19 19:17:03 +10:00
Maxime Coste
af175d2e7e
Output debug memory stats in a nice table
2020-05-19 17:16:37 +10:00
Maxime Coste
5933ab1e78
Split python auto-insert hooks from auto-indent
2020-05-19 17:16:05 +10:00
Johannes Altmanninger
fc63eef695
Fix crash when selecting previous paragraph at buffer begin
...
Fixes #3489
When there are multiple empty lines between a paragraph and the cursor
(C in the example below), <a-[>p skips over one of them. Prevent the
check for the extra newline from going out of bounds.
```
a paragraph
C after <a-[>p, the first two lines will be selected
```
2020-05-17 14:15:48 +02:00
Johannes Altmanninger
08509cb408
Refactor: use is_eol() as elsewhere in this function
2020-05-17 14:11:45 +02:00
Maxime Coste
5fd548d5cf
Fix use of unportable MSG_CMSG_CLOEXEC
2020-05-17 21:28:40 +10:00
Maxime Coste
b44c4f41a6
Document rgba faces and client stdin in the changelog
2020-05-16 10:10:28 +10:00
Maxime Coste
3fc02cb25f
Merge pull request #3473 from Aajn/patch-1
...
Remove outdated information from faq
2020-05-15 13:47:33 +10: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
Aajn
ae17669859
Remove outdated information
...
Default build mode is release since c07f052
.
2020-05-10 15:58:24 +02: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