Maxime Coste
0f9e6680e2
Support quoted here-documents in sh highlighting
2019-01-17 19:58:53 +11:00
Maxime Coste
da8058487b
Fix C++ raw strings not being checked for matching captures
2019-01-17 19:50:43 +11:00
Maxime Coste
0600724a8b
Improve some corner cases in c-family auto-indenting
2019-01-14 23:42:57 +11:00
Jan-Jaap Korpershoek
b306f6aa37
[Bash] Handle hashtag inside expansion ( Fix #2684 )
2019-01-11 00:02:36 +01:00
fsub
059b086e62
c-family: Regroup C++ keywords and consider C++20
2019-01-06 19:22:48 +01:00
Justin Frank
8a6a76fcd3
Added 'catch' to kakrc keywords
2019-01-02 13:30:34 -08:00
Maxime Coste
090ccafa8d
Merge remote-tracking branch 'Muffindrake/uch_stdlib'
2018-12-30 10:55:26 +11:00
Olivier Perret
6f9e297def
Revert cosmetic hook order change
...
The order in which they're run actually matters
2018-12-20 19:15:40 +11:00
Olivier Perret
f085e43bf9
Unify auto-indent trimming hooks
...
* ModeChange hooks that remove indent now belong to *-trim-indent groups, instead of just -indent
* *-filter-around-selections hooks and commands have been renamed to trim-indent for clarity
2018-12-19 10:20:11 +01:00
Olivier Perret
d8466f0f39
c-family.kak: remove redundant -family in hook groups
2018-12-19 10:03:37 +01:00
Muffindrake
bcb87279e5
Remove accidental line paste
2018-12-15 10:30:53 +01:00
Muffindrake
2e141d2c2c
Add atomic type qualifier and atomic_flag type
2018-12-15 09:54:22 +01:00
Muffindrake
bbd34de26c
Add missing stdlib macro highlighting and uchar types
2018-12-15 09:33:46 +01:00
Maxime Coste
e49a0d2581
doc.kak: Do not join together bullet lists
...
Fixes #2610
2018-12-13 19:36:23 +11:00
Olivier Perret
27f951638c
Execute cleanup hooks on any filetype change
2018-12-11 00:35:57 +01:00
Olivier Perret
6765723c68
Change cleanup of core/ languages to use a simpler hook -once
2018-12-11 00:13:30 +01:00
Maxime Coste
086db6a9d3
Fix extra_word_chars in various scripts
...
Add '_' to the list now that it is not built-in anymore
2018-11-28 18:13:55 +11:00
Alyssa Ross
9e99415c46
makefile.kak: highlight .mk files
...
This extension is commonly used for helper files, etc.
2018-11-26 02:20:31 +00:00
Maxime Coste
bef7683e1b
Merge remote-tracking branch 'Muffindrake/c_stdint'
2018-11-25 22:59:22 +11:00
Muffindrake
d40a6bc44a
Highlight bool type
2018-11-23 00:12:01 +01:00
Olivier Perret
808580056f
doc: don't pollute command history with mapping
2018-11-21 17:30:58 +01:00
roger
b672e7c100
python: add async/await keywords highlighting
2018-11-12 15:03:32 +01:00
Muffindrake
a807dbf1e0
Add missing highlighting for time/wctype
2018-11-11 15:33:55 +01:00
Muffindrake
3012bf48e5
Convert subshells to strings
2018-11-08 18:26:16 +01:00
Muffindrake
3c9f9255d7
Add macros for float.h
2018-11-08 18:03:31 +01:00
Muffindrake
f088dd957a
Update C grammar
...
This highlighting and static completion for types and macros that were
previously missing. No functions are included, but some macros are
highlighted as such, even if they're function-like macros.
2018-11-08 10:30:27 +01:00
Justin Frank
521e5032c9
Don't require content in parens for single statment indent
2018-11-01 00:21:48 -07:00
Justin Frank
ee65954ed4
Make statement after if/else/while/for optional for indenting c-family
2018-10-31 16:09:13 -07:00
Sébastien Lerique
681942e44b
Support commenting syntax in Elm
2018-10-09 11:40:07 +02:00
Maxime Coste
888ec60adf
Fix kakrc shell script completion region definitions
2018-10-06 10:49:14 +10:00
Maxime Coste
5bdcfab018
Merge remote-tracking branch 'laelath/shell-command-completion'
2018-10-06 10:47:23 +10:00
Maxime Coste
d9e95ff1fc
Merge branch 'patch-1' of https://github.com/andreyorst/kakoune
2018-10-04 20:16:47 +10:00
Justin Frank
ab6bc41358
Added shell command completion support to define-command and prompt
...
This commit also introduces a regression in that I decided that the best way to
avoid overly long and confusing names was to rename the current shell-*
switches to script-*, and have the shell command completion be
shell-completion.
renamed script-{completion,candidates} to shell-script-*
Updated docs with new switch names
Added -shell-completion switch to x11-repl and kitty-repl
2018-10-03 09:46:31 -07:00
Andrey Orst
44483e06f7
Simplifed regex variant by mawww
2018-10-03 15:16:16 +03:00
Andrey Orst
5dce923785
use more complex regex to handle all suffix combinations
2018-10-02 19:01:53 +03:00
Tim Allen
8385212f98
doc.kak: Fix bashism.
...
Fixes #2442 .
2018-10-01 15:45:28 +10:00
Maxime Coste
150ee05077
Merge remote-tracking branch 'lenormf/fix-doc-anchor'
2018-10-01 11:18:20 +10:00
Frank LENORMAND
798a7ec351
rc doc: Fix the anchor jump error message
...
Fixes #2442
2018-09-30 10:43:27 +03:00
Frank LENORMAND
51ced99286
rc c: Highlight more standard types and macros
...
Related to #2438
2018-09-29 17:43:06 +03:00
Andrey Orst
ab09864bd5
Update c-family.kak
2018-09-25 10:23:07 +03:00
Maxime Coste
09546a950e
doc.kak: Fix rendering of indented code blocks
...
Fixes #2376
2018-09-23 22:42:30 +10:00
Maxime Coste
bb1cb0dbf1
doc.kak: Tweak paragraph joining logic
...
Fixes #2378
2018-09-23 17:40:16 +10:00
Maxime Coste
fd107b8b5e
Merge remote-tracking branch 'Delapouite/remove-hooks'
2018-09-20 21:14:22 +10:00
Maxime Coste
8618b286c5
Merge remote-tracking branch 'laelath/highlighter-fixes'
2018-09-20 21:14:01 +10:00
Delapouite
425aa56eaf
Use remove-hooks regex in rc
2018-09-19 19:59:57 +02:00
Andrey Orst
b3f817c1ff
Fix highlighting of unsigned long long in C filetype
...
Values like `0xffffffffffffffffull` were highlighted only till first `u` leaving `ll` without highlighting. This change addresses this issue. It also adds uppercase `ULL` highlighting in values.
2018-09-19 16:50:26 +03:00
Justin Frank
f6d5b23122
fixed hooks running when entered character was not alone on the line
2018-09-16 20:53:23 -07:00
Justin Frank
391e58625f
fixed mistakenly indenting matching characters
2018-09-16 17:05:32 -07:00
Justin Frank
4bb87ef430
macros always end at the start of a line comment
2018-09-15 10:52:18 -07:00
Justin Frank
e32d5ec88e
tweaked some of the c-family highlighting of defines
2018-09-14 19:03:49 -07:00