Bob Qi
760f63b827
rc/make.kak set option type to be regex
2023-10-29 09:05:33 +08:00
Bob Qi
cb540def46
rc/make.kak avoid another using pattern directly
2023-10-27 10:16:57 +08:00
Bob Qi
8e5ca3f214
rc/make.kak introduce a new option to be back compatible
2023-10-27 09:57:10 +08:00
Bob Qi
2d849cc147
rc/make.kak set search register to avoid injection
2023-10-27 08:25:38 +08:00
Bob Qi
d0571ce238
rc/make.kak support override the whole error line pattern
2023-10-26 10:13:07 +08:00
Maxime Coste
b020922e6f
Fix some corner cases in c-family indentation
2023-10-25 12:51:16 +11:00
Maxime Coste
d50048d0b4
Highlight a few extra mail headers
2023-10-24 10:47:20 +11:00
Maxime Coste
5c793a6a1e
Merge remote-tracking branch 'Screwtapello/hint-git-next-hunk'
2023-10-04 21:04:27 +11:00
Tim Allen
9286a7ee49
Make "git next-hunk" hint about how it works.
2023-10-04 10:53:20 +11:00
Tim Allen
87787defd8
The command is called "git prev-hunk", not "git previous-hunk".
2023-10-04 10:52:15 +11:00
Caleb Heuer
5ec40c63b2
Add highlighting of Lua variables, labels, and self keyword
2023-09-30 11:57:30 -06:00
Maxime Coste
12f42a2faf
Merge remote-tracking branch 'stacyharper/git-grep-complete'
2023-09-23 21:26:40 +10:00
Bob Qi
235552c5fa
rc/tools/git add --column to git grep
2023-09-18 16:18:32 +08:00
Willow Barraco
cfd7d8e361
rc/tools/git: add basic completion for git-grep
2023-09-12 11:32:26 +02:00
Willow Barraco
01fd6552af
tools/git: add git grep using existing grep tool
2023-09-10 11:31:07 +02:00
Maxime Coste
f21145c249
Merge remote-tracking branch 'QiBaobin/filetype-grovvy'
2023-09-08 05:28:56 +10:00
Maxime Coste
76306f7c05
Merge remote-tracking branch 'raiguard/rc/go-highlighting'
2023-09-08 05:28:08 +10:00
Bob Qi
8f6ef9512f
add groovy filetype
2023-09-07 09:52:00 +08:00
Caleb Heuer
142925fc90
This is numerics, not identifiers
2023-09-06 12:24:06 -06:00
Caleb Heuer
c338efe078
Support generics in function highlighting
2023-09-06 12:03:49 -06:00
Caleb Heuer
6148a16a0e
Add spread operator
2023-09-06 12:03:49 -06:00
Caleb Heuer
88bb854f36
Improve Go highlighting
2023-09-06 12:03:49 -06:00
Bob Qi
c6270512fd
fix a sed error on mac
...
sed: 1: "/^&/ { s/^[^:]*: //; s/ ...": extra characters at the end of p command
2023-09-05 14:48:26 +08:00
Michał Kruszewski
521549fb69
troff: Highlight .PSPIC and .PDFPIC macros
2023-07-30 09:47:10 +02:00
Maxime Coste
dad128e4a6
Merge remote-tracking branch 'QiBaobin/rc/windowing/wezterm'
2023-07-29 15:34:15 +10:00
Maxime Coste
90acec991f
Merge remote-tracking branch 'omasanori/ocaml-lex-and-yacc'
2023-07-29 15:33:48 +10:00
Maxime Coste
991b233468
Merge remote-tracking branch 'arrufat/zig-builtin-functions'
2023-07-29 15:33:15 +10:00
Bob Qi
117f12dbd6
pass cwd for wezterm terminal
2023-07-27 13:28:37 +08:00
Masanori Ogino
8fb0a99f05
Detect .mll and .mly files as OCaml sources
2023-07-26 17:15:06 +09:00
Adrià Arrufat
fdb33e7302
zig: add c_char type
2023-07-26 12:37:35 +09:00
Adrià Arrufat
ca36d0d228
zig: update builtin functions for v0.11.0
2023-07-26 12:26:49 +09:00
Adrià Arrufat
eabc7cd2a8
Set filetype to Zig for zon files.
2023-07-25 15:30:52 +09:00
Adrià Arrufat
3cca4c5098
Auto-remove empty comments in Zig like in the C-family.
...
This makes Kakoune behave more consistently when using it for Zig.
Empty comments are already auto-removed from the C-family and Python.
In this PR, string literals that start with \\ are not removed in purpose.
2023-07-04 16:40:24 +09:00
Maxime Coste
4f60a828cd
Merge remote-tracking branch 'ericv8v9s/master'
2023-07-03 20:06:01 +10:00
Maxime Coste
74b0bf6c9e
Merge remote-tracking branch 'GrantMoyer/patch-1'
2023-07-03 20:04:00 +10:00
Eric
a9b52b315c
Fixed lisp highlighter marking everything as variable
2023-07-01 15:27:13 +08:00
Grant Moyer
7115858093
Quote doc file path in doc-render command
...
Without quoting the file path,
the `doc` command fails to display any docs with spaces or backslashs (on Cygwin) in their paths.
2023-06-23 12:38:19 -04:00
Evan Lloyd New-Schmidt
c1e6fe4ca1
Add standard SQL comments
2023-06-21 16:48:24 -07:00
Maxime Coste
18d4c40f08
Fix c-family closing brace indent behaviour on some corner cases
2023-06-15 17:42:19 +10:00
Maxime Coste
4106791adc
Fix windowing detection echoing last module error if none matched
...
Display a more general message in the debug buffer.
2023-06-13 17:08:42 +10:00
Bob Qi
365fe58826
fix arg quoting
2023-06-09 17:57:48 +08:00
Bob Qi
b64dce3e95
rc/windowing/wezterm.kak
2023-06-09 15:43:07 +08:00
Maxime Coste
6bee11c7dd
Merge remote-tracking branch 'QiBaobin/kakrc-hl'
2023-06-05 20:13:07 +10:00
Maxime Coste
0338294223
Merge remote-tracking branch 'greenfork/hare-comment-insert'
2023-06-05 20:11:23 +10:00
Dmitry Matveyev
caf6f6ff7e
hare.kak: change back the command
...
Previously was changed in
https://github.com/mawww/kakoune/pull/4785
Probably some race condition that right now works with a big letter P?
2023-06-04 09:49:52 +06:00
Johannes Altmanninger
b7e9d9bae3
rc detection modeline: optimize modeline pre-filtering
...
modeline-parse leads by matching an expensive regex against the entire buffer,
which can take a long time on huge files.
Perl takes too long on this regex and it seems not even ripgrep
optimizes the \z component
$ ruby -e '10000.times { puts "a" * 10000 }' > big
$ time rg --multiline --only-matching '\A(.+\n){1,5}|(.+\n){1,5}\z' big | wc -l
10
__________________________
Executed in 419.81 millis
usr time 399.84 millis
sys time 20.78 millis
where
$ time kak big -e q
__________________________
Executed in 179.19 millis
usr time 133.61 millis
sys time 53.50 millis
Let's lose the regex.
Fixes #4911
2023-06-02 22:38:32 +02:00
Bob Qi
acaca4955e
add Highlight for complete-command shell-script
2023-06-02 15:31:41 +08:00
Maxime Coste
7f950bc4a9
git.kak: Use gawk's strftime instead of shelling out to date
...
`date -d` is not posix, strftime neither, but at least we only rely
on one non-posix tool and avoid forking.
Should help a bit for #4847
2023-05-30 13:01:56 +10:00
Maxime Coste
375a3c87df
Merge remote-tracking branch 'jtrv/grep-kak-literal-string-matching'
2023-05-15 21:22:56 +10:00
Maxime Coste
a69be6288c
Merge remote-tracking branch 'poweredbypie/master'
2023-05-10 20:08:12 +10:00