Maxime Coste
5c7c79f6b1
Merge remote-tracking branch 'alexherbo2/ranger-rc'
2016-09-26 21:59:11 +01:00
Maxime Coste
b5450aa375
Tweak RankedMatch logic, prioritize matches that are in a single word
2016-09-26 21:54:39 +01:00
Alex Leferry 2
503b5bea4c
add ranger.kak
2016-09-26 11:51:53 +02:00
Maxime Coste
0d5a1ddf4c
Merge remote-tracking branch 'lenormf/fix-makefile'
2016-09-25 15:17:03 +01:00
Frank LENORMAND
b9d21a9e9e
Add some standard GNU targets to the Makefile
...
Closes #813
2016-09-25 09:40:24 +03:00
Frank LENORMAND
b26d083627
Place the Makefile highlighting script alongside the make
support script
2016-09-25 09:19:56 +03:00
Frank LENORMAND
7d51dca290
Indent after other keywords
2016-09-25 09:19:04 +03:00
Frank LENORMAND
048004f3a4
Allow dashes in target names for syntax highlighting
2016-09-25 09:13:39 +03:00
Frank LENORMAND
fbc2091df9
Rewrite some non POSIX conditionals
2016-09-24 12:49:19 +03:00
Frank LENORMAND
9a2f0c350b
Add language highlighting to markdown code blocks
...
Fixes #808
2016-09-24 11:25:58 +03:00
Frank LENORMAND
24ef77704c
Add more standard GNU keywords to the makefile completion keywords
2016-09-24 11:09:42 +03:00
Maxime Coste
6f8d5d2e1f
Merge remote-tracking branch 'alexherbo2/ranger-rc'
2016-09-22 23:19:37 +01:00
Maxime Coste
8abd99522f
Merge remote-tracking branch 'somasis/master'
2016-09-22 23:19:09 +01:00
Kylie McClain
3ec0cbd07a
formatter.kak: Use sed rather than ${variable//string/replacement}
...
Using ${variable//string/replacement} is a bash extension, it is not part
of POSIX shell scripting.
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02
2016-09-21 19:54:17 -04:00
Maxime Coste
532e3758fe
Add InsertCompletionShow/InsertCompletionHide hooks
2016-09-21 13:43:06 +01:00
Maxime Coste
12f2815159
Tweak Buffer::offset_coord implementation
2016-09-21 13:36:11 +01:00
Maxime Coste
4f874a3679
Code cleanup in make_completer, use std::decay
2016-09-19 23:26:52 +01:00
Maxime Coste
80413e1e3a
Merge remote-tracking branch 'alexherbo2/ruby-rc'
2016-09-19 09:26:04 +01:00
Maxime Coste
8deadcc318
Merge remote-tracking branch 'kurkale6ka/add_quotes'
2016-09-19 09:25:00 +01:00
Maxime Coste
94748713f2
Merge remote-tracking branch 'casimir/modeline-compat'
2016-09-19 09:23:13 +01:00
Maxime Coste
fafde8655b
Fix select_to_reverse to correctly handle the first character of the buffer
...
Fixes #809
2016-09-19 09:20:55 +01:00
Maxime Coste
396b71ecc2
Add an unmap command to remove key mappings
2016-09-19 09:10:41 +01:00
Maxime Coste
44e9da3bee
More command completer code cleanup
2016-09-18 16:27:34 +01:00
Maxime Coste
d14c39ebdd
Rewrite PerArgumentCommandCompleter to use compile time dispatching
...
No need to store these vectors of std::functions around anymore.
2016-09-18 16:07:00 +01:00
Maxime Coste
8627c93e11
Tweak zenburn theme, rely less on terminal builtin colors
2016-09-18 14:30:16 +01:00
Maxime Coste
c152fbe3b6
Make idle timeout and filesystem check timeout configurable
2016-09-18 13:47:22 +01:00
Alex Leferry 2
e18d145f96
highlight :: operator
2016-09-16 11:12:02 +02:00
Alex Leferry 2
bb911cc229
fixes symbol highlighting
2016-09-16 10:54:53 +02:00
Martin Chaine
a03cc59608
Use POSIX case and BRE
2016-09-09 16:48:49 +02:00
Alex Leferry 2
6e634c680a
fixes 'end' insertion
2016-09-09 15:36:45 +02:00
Alex Leferry 2
5b99ef3197
disable hooks
2016-09-09 15:35:23 +02:00
Dimitar Dimitrov
b9ef5a2f2a
Always use quotes with sh/bash
2016-09-09 12:04:55 +01:00
Martin Chaine
6faed96b68
Highlight diff in git-commit too
2016-09-07 13:50:21 +02:00
Maxime Coste
c63c92cbf7
Support kill session inside init command
2016-09-06 22:46:27 +01:00
Maxime Coste
c1d7f79a52
Do not let boost regex errors propagate, convert them to Kakoune errors.
2016-09-06 13:55:14 +01:00
Maxime Coste
9a19f18bc0
Use shell-candidates for :colorscheme completion
2016-09-05 23:39:13 +01:00
Maxime Coste
da0fe5d0bd
Small code tweak in generate_switches_doc
2016-09-05 23:34:03 +01:00
Maxime Coste
e9c63316f5
Tweak c-family indent logic
2016-09-05 23:33:34 +01:00
Maxime Coste
21a76d135c
Fix handling of remote errors in the accepter
2016-09-05 13:47:56 +01:00
Maxime Coste
a6b55074d6
Merge remote-tracking branch 'lenormf/fix-ctags-tagroot'
2016-09-04 20:40:41 +01:00
Maxime Coste
4fc20b8d7d
Rework client quitting and handling of remote errors
...
Client quitting no longer immediately unwinds, client is just pushed
for deletion until we get back to the main loop, similarly to what
happens for buffer and window deletion.
2016-09-04 17:56:07 +01:00
Maxime Coste
563497ade7
Use proper buffering when reading remote messages
...
Messages now have their size in a header, along with their type
and are only executed once fully received. We dont block anymore
while trying to read a full message.
2016-09-04 11:17:35 +01:00
Maxime Coste
044a6ce860
Rework binary network protocol to be more message based
...
We cannot just write to Kakoune socket from any application anymore,
use of kak -p is mandatory, as we now have an introduction to write.
2016-09-04 11:17:34 +01:00
Maxime Coste
4d13e6fb88
Do not crash whenever S matches the whole selection and hence does not select anything
...
Fixes #787
2016-09-04 11:17:34 +01:00
Frank LENORMAND
12ddf22761
Fix the directory from which the file containing a matching tag will be opened
2016-08-31 14:23:36 +03:00
Maxime Coste
97e36233fb
Remove the to_string(unsigned) (it conflicts with to_string(size_t) on x86)
...
Just cast to int when we pass an unsigned.
2016-08-31 09:07:33 +01:00
Maxime Coste
80298a95a0
clang.kak: Use two sed processes instead of one to avoid extra long pattern space
...
The previous version was ending up with all the completion candidates
in a single, multiline pattern space, regex substitution on it was
extremely slow compared to the two process version where substitution
is always running on a single candidate.
2016-08-30 23:41:27 +01:00
Maxime Coste
3831117bc7
style tweak
2016-08-30 23:23:07 +01:00
Maxime Coste
8b02bb749d
Add a fd_readable(int fd) helper function
...
Use it instead of direct calls to select scatered around the code
base.
2016-08-30 22:56:47 +01:00
Maxime Coste
d0a29511d2
Merge remote-tracking branch 'lenormf/document-merge'
2016-08-30 22:41:42 +01:00