Maxime Coste
beb2cef7f9
Document rotate selection breaking change in startup message
2018-03-25 11:39:26 +11:00
Maxime Coste
ec7f3738ee
Move rotate selection and rotate selection contents to ) and <a-)>
...
Backward rotation are supported with (.
Fixes #1210
2018-03-25 11:39:26 +11:00
Maxime Coste
683ce8e83b
Use 1 and -1 for Forward/Backward Direction to simplify code
2018-03-25 11:25:55 +11:00
Maxime Coste
59e9108812
indent selector: When line is empty, find indent from surrounding lines
...
Look for the first non empty line preceeding the current line, or
if not found, the first non empty line following it.
Fixes #1904
2018-03-25 10:25:56 +11:00
Maxime Coste
81f605709c
Remove parse_filename overload and use a default parameter
2018-03-25 07:55:39 +11:00
Maxime Coste
3fe93db610
Merge remote-tracking branch 'alyssais/patch-1'
2018-03-24 08:17:41 +11:00
Maxime Coste
0c4f4b5c42
Merge remote-tracking branch 'Delapouite/bufdir'
2018-03-24 08:09:04 +11:00
Maxime Coste
3ae94d017d
iterm.kak: use command argument instead of sending text
...
Instead of starting the default shell and sending it text (hoping
it will support POSIX like shell syntax), just use the `env` utility
to set the correct environment and exec kakoune.
2018-03-24 08:06:36 +11:00
Alyssa Ross
7c0d10f458
ruby.kak: support squiggly heredocs
...
Squiggly heredocs were introduced in Ruby 2.3.
They work like `<<-` but strip indentation.
2018-03-23 13:42:48 +00:00
Delapouite
ecd6cebdab
Docs: add %/
token to default path option
2018-03-23 10:24:18 +01:00
Maxime Coste
a732037b53
Support %
in path
option to mean current buffer directory
...
In the end, % is not that painful to work with as its only set seldomly,
and we usually dont need to use expansion at the same time. Moreover, it
just requires a single \ to be escaped.
Fixes #1562
2018-03-23 08:22:34 +11:00
Maxime Coste
42404ddb3a
Merge remote-tracking branch 'Delapouite/kakrc'
2018-03-23 07:42:38 +11:00
Maxime Coste
c31b66f3a0
Merge git://github.com/gspia/kakoune
2018-03-23 07:42:12 +11:00
Maxime Coste
2139173d89
Merge remote-tracking branch 'bclinthall/jsBracketAlign'
2018-03-23 07:38:58 +11:00
Maxime Coste
db7b43acd5
Restore client name after converting to client
...
When Kakoune forked the sever to background, the newly converted
to client process (the original client/server process) was not
preserving its previous client name.
2018-03-23 07:36:18 +11:00
Clint Hall
06cc993cd4
Fix javascript close bracket alignment
2018-03-22 12:31:43 -04:00
Clint Hall
aec317322b
Clint Hall 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-03-22 12:30:03 -04:00
Delapouite
754a96eb3e
Add hl for declare-user-mode and enter-user-mode in kakrc.kak
2018-03-22 15:08:59 +01:00
gspia
056560131a
Add a space to haskell commment-line comment string.
2018-03-22 13:56:07 +02:00
Maxime Coste
796fbc6c1f
java.kak: Add some highlighted keywords and highlight annotations
2018-03-22 20:48:18 +11:00
Maxime Coste
f8e297acef
Merge remote-tracking branch 'topisani/master'
2018-03-22 07:49:49 +11:00
Maxime Coste
0b57412ed1
Merge remote-tracking branch 'Delapouite/css'
2018-03-22 07:48:02 +11:00
topisani
0aed0635a4
Tobias Pisani 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-03-21 14:49:03 +01:00
topisani
2682e3021d
[rc] Improve php.kak
...
- Added <?php and ?> tags, and highlight everything outside as html
- Highlight documentation comments and @fields
- Added basic string interpolation highlighting
2018-03-21 14:44:52 +01:00
Delapouite
d09256ec4c
Add extra_word_chars '-' to css.kak
2018-03-21 07:59:40 +01:00
Maxime Coste
1cdeace128
Merge remote-tracking branch 'Delapouite/doc-commands'
2018-03-21 06:42:31 +11:00
Maxime Coste
5c1a5c6d15
Revert "Throw when trying to remove a child highlighter that does not exists"
...
This reverts commit 56237aa8f8
.
Throwing seems more correct, but it breaks lots of existing scripts.
reverting for now until we have a nice solution.
2018-03-20 20:11:15 +11:00
Delapouite
00cb49438a
Docs: add missing [<switches>] in commands signatures
2018-03-20 09:13:09 +01:00
Maxime Coste
bec849ae14
Tolerate empty filenames in real_path
2018-03-20 05:56:20 +11:00
Maxime Coste
f7f84b7402
NCursesUI: Rework menu_show to shrink menu height when needed
...
Closes #1886
2018-03-20 05:54:19 +11:00
Maxime Coste
826977eb1b
Fix remove of highlighters with trailing / in their name
...
Fixes #1914
2018-03-20 05:35:37 +11:00
Maxime Coste
56237aa8f8
Throw when trying to remove a child highlighter that does not exists
2018-03-20 05:35:15 +11:00
Maxime Coste
e444cd3937
Merge remote-tracking branch 'lenormf/contrib-tmux-truecolor'
2018-03-20 05:28:53 +11:00
Maxime Coste
b27d4afa8d
Regex: Only allow SyntaxCharacter and - to be escaped in a character class
...
Letting any character to be escaped is error prone as it looks like
\l could mean [:lower:] (as it used to with boost) when it only means
literal l.
Fix the haskell.kak file as well.
Fixes #1945
2018-03-20 04:57:47 +11:00
Dan Rosén
6fdb9db5d9
Improve JS/TS highlighter slightly
2018-03-19 11:31:38 +01:00
Maxime Coste
6e695e37be
Fix real_path again
2018-03-19 20:49:05 +11:00
Maxime Coste
6d8747b886
Fix introduced bug in real_path
2018-03-19 06:28:06 +11:00
Maxime Coste
9518f279fb
Tweak option documentation helper to support -add
...
Fixes #1939
2018-03-19 03:04:50 +11:00
Maxime Coste
126dd11ba8
Merge remote-tracking branch 'marcesquerra/racer-extra-commands'
2018-03-19 02:59:23 +11:00
Maxime Coste
8a7e844207
NCursesUI: refactor info_show code
...
Show MenuDoc info on the left of the menu if necessary. Cleanup the
code.
2018-03-19 01:23:32 +11:00
Maxime Coste
cf37623f1a
Refactor read_fd '\r' removal logic
2018-03-18 23:43:18 +11:00
Maxime Coste
ac91a79b12
Fix implementation of real_path to handle non-existing directories in /
...
Fixes #1937
2018-03-18 23:23:00 +11:00
Marc
b3cc80126a
Remove unused var in racer support
2018-03-18 10:46:46 +00:00
Marc
484164580e
CARGO_HOME to identify racer dependencies
2018-03-17 20:27:11 +00:00
Maxime Coste
7ba4ef897b
Fix crash on expanding command line strings
2018-03-18 04:58:15 +11:00
Maxime Coste
0a2807e652
RangesHighlighter: a range that goes up to buffer end is not valid
2018-03-16 23:25:37 +11:00
Marc
ee7cab82b4
Make racer support scripts more POSIX compliant
2018-03-16 12:25:17 +00:00
Maxime Coste
ebd47d538b
Merge remote-tracking branch 'marcesquerra/racer-extra-commands'
2018-03-16 15:17:11 +11:00
Marc
898dfea8a1
racer-go-definition forces readonly on files external to the project
2018-03-15 20:37:27 +00:00
Maxime Coste
8479b33861
Merge remote-tracking branch 'Screwtapello/more-markdown-highlighting-improvements'
2018-03-15 23:23:44 +11:00