Commit Graph

3915 Commits

Author SHA1 Message Date
Frank LENORMAND
4bb5658206 Replace non-POSIX here-strings and calls to echo 2016-03-17 15:32:32 +02:00
Frank LENORMAND
3079d2a7e3 Replace non-POSIX inline character replacement in shell scripts 2016-03-14 18:29:11 +02:00
Frank LENORMAND
98594cf6df Add static completion suggestions to several languages, set autopep8 as default python formatter 2016-03-14 14:10:49 +02:00
Maxime Coste
22109ce677 Merge remote-tracking branch 'lenormf/rc/autowrap.kak' 2016-03-14 08:56:23 +00:00
Maxime Coste
bb3674e63e Update TODO 2016-03-14 08:55:46 +00:00
Frank LENORMAND
ea0a9b6e07 Get rid of useless operations 2016-03-14 09:15:47 +02:00
Maxime Coste
fdebdbd6a7 Merge remote-tracking branch 'lenormf/rc/autowrap.kak' 2016-03-13 10:45:23 +00:00
Maxime Coste
416b9d341c Merge remote-tracking branch 'lenormf/manpage' 2016-03-13 10:45:16 +00:00
Frank LENORMAND
2501e95571 Fix bugs and factorize code in the autowrap script 2016-03-13 09:47:17 +02:00
Maxime Coste
06c1c5f28b Do not include the debug buffer in word completion 2016-03-12 16:44:55 +00:00
Maxime Coste
35d3679703 Tweak clang.kak implementation of clang-show-completion-info 2016-03-12 16:44:08 +00:00
Frank LENORMAND
f32fe6c4cd Document missing commands, fix rendering issues 2016-03-12 11:30:10 +02:00
Maxime Coste
92f96f9455 Change custom object syntax, use a single prompt
Take a description of the object, in <open>,<close> format
2016-03-11 00:14:42 +00:00
Maxime Coste
428b18c0c1 Formatting fix 2016-03-11 00:09:13 +00:00
Maxime Coste
d554af7f0e Merge branch 'patch-2' of git://github.com/rennis250/kakoune 2016-03-10 19:43:35 +00:00
Maxime Coste
54c78bf0e5 Merge branch 'patch-1' of git://github.com/rennis250/kakoune 2016-03-10 19:43:12 +00:00
Robert J. Ennis
7f648bcd06 Update Makefile for OSX build with homebrew ncurses
This adds compilation flags to include the homebrew installed ncurses 6.0 library during compilation.
2016-03-10 15:07:50 +01:00
Robert J. Ennis
5180c06906 Ncurses 6.0 install on OS X
The mouse doesn't work properly in Kakoune on OSX without installing the latest version of ncurses. This shows the user how to do that.
2016-03-10 15:05:03 +01:00
Frank LENORMAND
8da2e2a7a8 Restore the filter_around_selections functions to balance indentation copies 2016-03-10 15:48:12 +02:00
Frank LENORMAND
a31d947e1d Give commands that do not indent their own insert hook 2016-03-10 15:12:08 +02:00
Frank LENORMAND
ad06f3f92c Remove hooks that trim trailing whitespaces 2016-03-10 15:08:01 +02:00
Frank LENORMAND
326421c810 Add rubocop as default ruby formatter 2016-03-10 15:07:08 +02:00
Maxime Coste
fcd3437fac Merge branch 'json-ui' 2016-03-09 23:29:46 +00:00
Maxime Coste
517abf5e74 Redisplay info when menu appears so that info adapts its position 2016-03-09 23:28:23 +00:00
Maxime Coste
99ca7ead37 Only select a completion when the menu was visible (or its the only one) 2016-03-09 23:24:20 +00:00
Maxime Coste
90d446b2f4 It can happen during an undo/redo that the buffer be temporarily empty
Fix is_end in that case.
2016-03-09 23:16:14 +00:00
Maxime Coste
79782fb903 Do not use echo -n in test runner, -n is not standard 2016-03-08 23:55:15 +00:00
Maxime Coste
84a1796a48 Try to please gcc 4.8 with parenthesis instead of curly braces 2016-03-08 23:36:54 +00:00
Maxime Coste
2d494ccb8e Merge remote-tracking branch 'alexherbo2/moon-rc' 2016-03-08 23:24:17 +00:00
Maxime Coste
a7f458257f Merge remote-tracking branch 'alexherbo2/lua-rc' 2016-03-08 23:24:11 +00:00
Maxime Coste
eea75c6daf Add missing curly braces in containers helpers 2016-03-08 23:22:32 +00:00
Maxime Coste
9e15181dc9 Rework container helpers, use pipe syntax and cleanup implementation
use 'container | filter(func) | reverse() | transform(func)' instead
of 'transform(reverse(filter(container), func), func)' to express
container transformations.
2016-03-08 21:35:56 +00:00
Alex Leferry 2
b67c098c8c code cleanup: remove optional sed option 2016-03-08 20:33:54 +01:00
Alex Leferry 2
a92c51d84f code cleanup: remove optional sed option 2016-03-08 20:33:21 +01:00
Maxime Coste
21ae662151 Use ranked match based completion for command names 2016-03-08 13:56:37 +00:00
Maxime Coste
ead6865350 Add an initial highlighting test 2016-03-08 13:42:27 +00:00
Maxime Coste
3cbc0d0b39 Force redraw everything, not just refresh 2016-03-08 13:42:00 +00:00
Maxime Coste
23f52d591c Support parsing booleans in json 2016-03-08 00:28:53 +00:00
Maxime Coste
114f9c876d Detect if the debug buffer exists before displaying it in test runner 2016-03-08 00:25:14 +00:00
Maxime Coste
6f78c7f910 Fix handling of bool when writing json 2016-03-07 23:14:28 +00:00
Maxime Coste
6c8f8fe691 Rework client redrawing, delay menu/info methods until next refresh
That avoid sending lots of spurious info_hide/menu_hide, just set
a flag and wait until the client is asked to redraw.
2016-03-07 23:11:59 +00:00
Maxime Coste
a15cdeae6e Fix json escaping of strings 2016-03-07 22:38:37 +00:00
Maxime Coste
2626ce858f Move <c-l> handling to normal mode from client
Client handling prevents :exec from triggering a redraw
2016-03-07 22:14:03 +00:00
Maxime Coste
4d4f18a78a Select ui at launch through the -ui <ui_name> switch 2016-03-07 21:44:50 +00:00
Maxime Coste
f1fb2114da Handle <c-l> redrawing on the server side
That way we can force a redraw at any moment, including during
batch execution.
2016-03-07 21:44:50 +00:00
Maxime Coste
26e81976d3 Add a quick explanation of the json ui 2016-03-07 21:44:50 +00:00
Maxime Coste
b832a61193 Cleanup JsonUI and add support for a resize method 2016-03-07 21:44:50 +00:00
Maxime Coste
433940485f Initial, WIP json ui implementation
The JsonUI writes json rpc user interface commands on stdout and
reads json rpc requests on stdin.
2016-03-07 21:44:50 +00:00
Maxime Coste
52525a156f Remove complete_prefix option and behaviour
Now that we use subsequence based completion almost everywhere,
completing the common prefix does not make sense anymore.
2016-03-07 20:17:41 +00:00
Maxime Coste
7202ff373e Tips should not be in the readme 2016-03-06 15:20:49 +00:00