Maxime Coste
3a36a2486e
Slight cleanup of the menu display code
2019-10-16 20:45:53 +11:00
Delapouite
c21228a8bd
doc: fix example about shared highlighter group
2019-10-15 21:28:35 +02:00
Maxime Coste
a1a63901c1
Merge branch 'patch-1' of https://github.com/chaoky/kakoune
2019-10-15 20:46:40 +11:00
Maxime Coste
2f1afb274a
Merge remote-tracking branch 'eraserhd/test-async'
2019-10-15 20:44:02 +11:00
Maxime Coste
4f6f74cc04
Merge branch 'patch-1' of https://github.com/ytang/kakoune
2019-10-15 20:35:07 +11:00
Jason Felice
e888f4341c
test: Allow expect-style UI tests, testing any var
2019-10-13 14:57:24 -04:00
Jason Felice
2b1ca43328
test: Clear socket correctly when XDG_RUNTIME_DIR is set
2019-10-13 14:56:55 -04:00
Maxime Coste
081595fa2f
Support specifying the user configuration with KAKOUNE_CONFIG_DIR
...
Fixes #3072
Closes #3081
2019-10-10 20:26:27 +11:00
Maxime Coste
f2fa260929
Merge remote-tracking branch 'Delapouite/combine-selections'
2019-10-10 20:11:26 +11:00
Delapouite
2148b84274
Add unambiguous titles for infobox "enter combining operator"
...
fix #3089
2019-10-10 08:34:36 +02:00
Yang Tang
6a37767b75
doc: swap q
and Q
in TRAMPOLINE
2019-10-09 16:05:10 -04:00
Maxime Coste
e4f815e350
Merge remote-tracking branch 'occivink/alt-fail'
2019-10-09 19:18:45 +11:00
Maxime Coste
5430f6ccad
Simplify argument pass through in git wrapper script
...
Fixes #2869
2019-10-09 17:40:57 +11:00
lordie
d3458fd877
Chaoky 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.
2019-10-08 15:20:59 -03:00
Olivier Perret
fac05f3ea0
[rc] Use 'fail' when the alternative file cannot be found
...
This makes it possible to implement a fallback strategy using 'try .. catch',
for cases where the alternative file is not stored in a subdirectory
2019-10-08 18:06:54 +02:00
Maxime Coste
f9b07ea028
Merge branch 'patch-1' of http://github.com/rushsteve1/kakoune
2019-10-08 19:15:05 +11:00
Maxime Coste
a2993ea104
Check that stdin is readable before calling read
...
This should not be necessary, but it works around a bug in WSL.
Fixes #3112
2019-10-08 18:38:05 +11:00
Maxime Coste
2f1be14b5f
Avoid negative initial coordinates
...
Fixes #3111
2019-10-03 21:18:51 +10:00
Leonardo Dias ~Lordie
220d5b6e72
fixed regex for matching words
...
the regex for matching words was matching some characters that elm does not parse
added <_> and <->> as keywords
2019-10-02 03:46:23 -03:00
Leonardo Dias ~Lordie
32648d6cf4
Better elm syntax lighting
...
this will only highlight elm 0.19 (latest) properly
very close to how https://ellie-app.com/ highlights
- anything that starts with an upper case letter is a type
- anything that starts with a lower case letter is a function
- function declaration is just a function at the start of a line
note: the default color scheme looks too colorful
2019-10-01 23:44:54 -03:00
Steven vanZyl
7c95f3b96d
Update OpenSUSE install instructions
...
Kakoune is now in the official OpenSUSE repositories
so it is no-longer necessary to use the editors repo.
2019-10-01 12:40:52 -04:00
Maxime Coste
d793ca76b6
Merge branch 'haskell' of http://github.com/evanrelf/kakoune
2019-10-01 20:07:29 +10:00
Maxime Coste
f2e5582f34
Merge remote-tracking branch 'eraserhd/pr/master/extra_word_chars-on-window'
2019-10-01 20:06:03 +10:00
Maxime Coste
9421e28eb5
Merge remote-tracking branch 'occivink/grep-space'
2019-10-01 18:35:26 +10:00
Olivier Perret
b376e3b662
grep: fix for filenames containg spaces
2019-09-30 23:54:31 +02:00
Evan Relf
c544e01b7d
Add additional syntax highlighting for Haskell
...
- Function names in type signatures are now highlighted
- Quasiquotes are now highlighted
2019-09-28 15:38:43 -07:00
Jason Felice
f88cf7ffb4
rc, doc: set extra_word_chars on buffer, not window
...
For clojure.kak and haskell.kak, set extra_word_chars on the buffer
and not the window, so that the buffer's word db is updated correctly
for word completion.
Document this.
Also, minor refactor of clojure.kak.
Closes #3108
2019-09-26 09:55:02 -04:00
Maxime Coste
ba0ce99717
Merge remote-tracking branch 'Delapouite/patch-2'
2019-09-26 20:31:45 +10:00
Maxime Coste
370693afd8
Do not autoscroll on grep results
...
Closes #3100
2019-09-26 20:30:38 +10:00
Maxime Coste
aa6a7e544d
Fix some clang warnings
2019-09-26 20:22:27 +10:00
Maxime Coste
1d9a9bc308
Remove unneeded NCursesUI::Window::mark_dirty and redraws
...
A bug in client.cc was always forcing full redraws of the windows,
leading to much more terminal output traffic than necessary.
2019-09-26 20:14:08 +10:00
Maxime Coste
7f141e83ce
Additional NCursesUI code cleanups
2019-09-25 22:46:39 +10:00
Maxime Coste
2eccbbbe6f
Avoid unnecessary allocations in NCursesUI::Window::draw calls
...
Pass an ArrayView<DisplayAtom> instead of a DisplayLine& so that
the newly common case of passing a single atom does not require
constructing a Vector.
2019-09-25 22:46:39 +10:00
Maxime Coste
f855deaf8b
Refactor NCursesUI::Window to reduce the exposed methods
...
This should make an alternate implementation simpler as less state
has to be tracked.
2019-09-25 22:46:39 +10:00
Maxime Coste
9c2d2ad694
Do not set O_NONBLOCK on stdin
...
It is not necessary, and impacts also writing to stdout, leading
to broken display on old ncurses versions.
Fixes #3087
2019-09-25 20:33:01 +10:00
Maxime Coste
de3ff78b22
Restore stdin status flags on suspend and quit
...
Those flags are shared with the parent process, so the non-block
flag added impacts their execution.
2019-09-24 23:28:11 +10:00
Bruno Heridet
033908f8ec
doc: add link to json-rpc 2.0 spec
2019-09-24 10:07:23 +02:00
Maxime Coste
f066014d33
Merge remote-tracking branch 'laelath/suppress-init-list-lifetime-warning'
2019-09-22 22:41:25 +10:00
Maxime Coste
9bd1e0fb43
Merge remote-tracking branch 'Delapouite/patch-1'
2019-09-22 09:39:41 +10:00
Maxime Coste
891a9f5fe6
Merge remote-tracking branch 'lenormf/fix-git-tools'
2019-09-22 09:29:19 +10:00
Maxime Coste
df6d0355d6
Add support for parsing SS3 key sequences
...
As discussed on #3087 , fixes part of that issue.
2019-09-22 09:16:47 +10:00
Bruno Heridet
839c96cb21
doc: add explicit mention of d
and u
commands.
...
lenormf did a fantastic job in the original TRAMPOLINE by providing a good density information while keeping the document short.
However, after skimming through it recently I found that these 2 basic commands (`d` and `u`) were not explicitly mentioned.
As newcomers who ask for a `vimtutor` equivalent are often redirected to the TRAMPOLINE, I thought these short additions will be welcomed.
2019-09-18 15:27:57 +02:00
Justin Frank
8094ded9b5
Added -Wno-init-list-lifetime to CXXFLAGS
2019-09-17 13:38:17 -07:00
Maxime Coste
271b1d4f2f
Add a clang_directory option to set PWD when completing
...
This matches the directory entry in compilation databases
format.
2019-09-17 21:50:21 +10:00
Maxime Coste
8cca77c949
Accept docstrings with last line not fully indented
...
When trimming indent, the last line, if only containing
whitespaces does not need to match the indent, so that
this indentation style works:
-docstring %{
indented string
}
2019-09-17 21:48:00 +10:00
Maxime Coste
c787128a7c
Restore palette before suspend
2019-09-16 21:57:53 +10:00
Maxime Coste
bfc07b53a2
Correctly restore terminal state on suspend
2019-09-16 07:38:24 +10:00
Maxime Coste
afd5006e8b
Small style tweak
2019-09-16 07:38:24 +10:00
Maxime Coste
9235238191
Fix input coming in packets characters being dropped
2019-09-16 07:38:24 +10:00
Maxime Coste
006083c6f8
Fix multi-client server suspend
2019-09-16 07:38:24 +10:00