Maxime Coste
cad2b86d88
Merge remote-tracking branch 'Delapouite/version-switch'
2018-08-19 08:00:29 +10:00
Frank LENORMAND
9a111b5ebe
src: Improve error messages in RPC requests parsing
...
Cast errors in RPC requests currently make the client quit with an
error saying "uncaught exception", since `Kakoune::bad_value_cast`
exceptions are not explicitely handled.
This commit tries to catch ill-formatted requests and return a more
human-friendly error message, without quitting the client.
2018-08-18 09:28:30 +03:00
aver-d
d2f48b1942
Add dart to comment.kak
2018-08-17 23:23:59 +01:00
Delapouite
d28a0f3183
docs: add -version switch in kak.1
2018-08-17 20:00:38 +02:00
Frank LENORMAND
099ad2319f
rc systemd: Make sure files are in the systemd
directory
...
Fixes #2272
2018-08-17 14:08:51 +03:00
Delapouite
231e140d37
docs: add -always and -once switch on hooks page
2018-08-16 19:06:57 +02:00
Maxime Coste
a6da34e192
Merge remote-tracking branch 'laelath/protobuf-syntax'
2018-08-16 21:25:57 +10:00
Maxime Coste
8034bd0e4d
Merge remote-tracking branch 'cnasc/master'
2018-08-16 21:22:01 +10:00
Maxime Coste
84edcc38fd
Merge remote-tracking branch 'Screwtapello/add-count-detail'
2018-08-16 21:21:02 +10:00
Maxime Coste
293610a432
Add a test case for -once hooks and code style tweaks
2018-08-16 21:09:51 +10:00
Maxime Coste
4387b1ac90
Merge remote-tracking branch 'lenormf/fix-hook-once'
2018-08-16 18:46:26 +10:00
Justin Frank
d557b09ac6
added protobuf syntax support
2018-08-15 21:39:29 -07:00
Tim Allen
6315b917dd
Mention the default value of the "count" variable.
2018-08-16 00:00:19 +10:00
Maxime Coste
d0709d5f56
Merge remote-tracking branch 'lenormf/fix-menu'
2018-08-15 00:08:26 +02:00
Harm Aarts
0d087966bf
Add Dart rc file
...
Based heavily on `go.kak`.
2018-08-14 21:06:36 +02:00
Frank LENORMAND
afd44ddaea
rc lisp: Highlight basic numeral forms
2018-08-13 20:49:15 +03:00
Frank LENORMAND
93e1b3c254
rc lisp: Extend the range of identifier characters
2018-08-13 20:48:53 +03:00
Frank LENORMAND
36d94cecb4
rc lisp: Fix variable highlighting
...
Fixes #2289
2018-08-11 10:13:38 +03:00
Frank LENORMAND
97abfd403d
src: Forbid empty menu
entries
...
Empty entries in menus look weird, and don't serve any purpose. Empty
commands are still allowed.
2018-08-11 10:03:57 +03:00
Christopher Nascone
ac82b1be95
Christopher Nascone 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.
2018-08-10 18:10:51 -04:00
Christopher Nascone
62fdec9398
Add instructions to install from Solus repository.
2018-08-10 18:10:19 -04:00
Maxime Coste
983a8f759a
Merge remote-tracking branch 'laelath/fix-git-hide-blame'
2018-08-09 11:25:30 +02:00
Maxime Coste
9eca5eb690
Merge remote-tracking branch 'laelath/i3-comments'
2018-08-09 11:25:08 +02:00
Maxime Coste
f706b8c9be
Add a -version switch to Kakoune
...
Closes #1035
2018-08-09 11:24:11 +02:00
Justin Frank
5b236e25a0
i3 comments don't require a space after the hash
2018-08-08 10:28:27 -07:00
Justin Frank
5b83968a29
fixed git hide-blame not working
2018-08-08 10:11:55 -07:00
Frank LENORMAND
e84dcf72c0
src: Allow hooks to be run only once
...
This commit implements the -once flag on the `:hook` command, which
automatically removes a hook after it was run, to avoid having to
declare a group and remove it in the hook implementation.
Closes #2277
2018-08-06 15:14:20 +03:00
Maxime Coste
ae75032936
Merge remote-tracking branch 'Screwtapello/support_rust_raw_strings'
2018-08-05 11:44:15 +01:00
Maxime Coste
610dbd97e9
Merge remote-tracking branch 'lenormf/fix-lint'
2018-08-05 10:37:15 +01:00
Maxime Coste
472a5732e2
An empty string is not a valid number
...
Fixes #2284
2018-08-04 11:10:19 +01:00
Frank LENORMAND
5953a38bdd
rc lint: Be more resilient to null coordinates
...
Some syntax checkers (such as `cppcheck`) like to pass
extra-information using a regular diagnostic line - but with null
coordinates (0:0).
This commit makes the `:lint` command ignore such messages, to prevent
`set-option` from failing when assigning coordinates to `lint_flags`, and to avoid unecessary information in the `*lint-output*` buffer.
2018-08-02 14:20:16 +03:00
Tim Allen
8a9471ca5c
rust.kak: Support Rust's raw-string syntax.
...
According to the Rust language reference[1], a raw string starts with an 'r',
zero or more '#' characters, and a '"', and doesn't close until a '"' is
immediately followed by the matching number of '#' characters.
[1]: https://doc.rust-lang.org/reference/tokens.html#raw-string-literals
2018-08-02 15:16:25 +10:00
Frank LENORMAND
bf488338aa
rc systemd: Make sure files are in the systemd
directory
...
Fixes #2272
2018-08-01 10:51:15 +03:00
Maxime Coste
1c0cc61ccc
Merge remote-tracking branch 'lenormf/fix-lint'
2018-07-31 16:05:00 +01:00
Maxime Coste
7e95ea92eb
Merge branch 'patch-4' of git://github.com/co-dh/kakoune
2018-07-31 15:59:23 +01:00
Maxime Coste
dabceaf05b
Fix reference to perl regex syntax, Kakoune's is based on ECMAScript
...
Fixes #2271
2018-07-31 15:58:35 +01:00
Maxime Coste
3b77398c5b
Add an assert to catch newpad returning a nullptr
2018-07-31 13:15:39 +01:00
Hao Deng
b2b7672eb3
sql is case insensitive
...
make sql hilighter case insensitive.
2018-07-30 14:49:21 -04:00
Frank LENORMAND
eee0035a0f
rc lint: Create temporary file with the same buffer extension
...
Fixes #2189
2018-07-30 15:12:41 +03:00
Maxime Coste
075d1048ab
Avoid invalid access to Optional
...
If the UI is not ok, the exit status of the client might not be
available. Return -1 in that case.
2018-07-30 10:32:38 +01:00
Maxime Coste
d2509e54f2
Fix compilation with gcc-5
...
Gcc-5 seems to have a bug in its handling of template variable.
Fixes #2267
2018-07-30 07:15:17 +01:00
Maxim Baz
451c72cc33
Do not enforce autoformat in ocaml
2018-07-28 12:27:27 +02:00
Maxime Coste
bd9895ea86
Bump gcc version used in travis to 6
2018-07-28 20:04:12 +10:00
Maxime Coste
2c9daf2378
Merge remote-tracking branch 'Delapouite/map-key-completer'
2018-07-28 19:48:24 +10:00
Maxime Coste
f8198b3022
Fix specs based highlighter documentation
...
Lists elements are now given as separate arguments rather than
as a single ':' separated string.
Fixes #2261
2018-07-28 19:33:11 +10:00
Maxime Coste
49437fd6e8
Merge remote-tracking branch 'JJK96/master'
2018-07-27 06:50:19 +10:00
Maxime Coste
eef2ea5136
Lazily iterate over words instead of gathering them in a vector
2018-07-26 23:05:00 +10:00
Maxime Coste
eefe26b48b
Fix shared string registry ref count stats
2018-07-26 22:20:19 +10:00
Maxime Coste
7cf3cbde8e
Cleanup some trailing whitespaces and double semicolon
2018-07-26 21:56:34 +10:00
Maxime Coste
737807dde2
Replace a few loops with ranges
2018-07-26 21:23:06 +10:00