Maxime Coste
3589791670
Merge remote-tracking branch 'Guest0x0/master'
2020-05-30 09:24:25 +10:00
Maxime Coste
d1f4b44655
Merge remote-tracking branch 'lenormf/fix-ini'
2020-05-30 09:22:37 +10:00
Maxime Coste
f939055e22
Merge remote-tracking branch 'lenormf/remove-bold-italic-faces'
2020-05-30 09:21:08 +10:00
Maxime Coste
65921d0515
Merge branch 'fix-perl-regex' of https://github.com/buffet/kakoune
2020-05-30 09:20:00 +10:00
Maxime Coste
2a28779998
Merge branch 'latex' of http://github.com/mreppen/kakoune
2020-05-30 09:14:39 +10:00
Maxime Coste
3f787acb4f
Merge remote-tracking branch 'greenfork/add-underscores-to-zig-integers-highlighting'
2020-05-30 09:13:17 +10:00
Maxime Coste
a28deb0aaf
Merge branch 'highlight-markdown' of https://github.com/pickfire/kakoune
2020-05-30 09:11:45 +10:00
Maxime Coste
c716f5d4e4
Merge remote-tracking branch 'krobelus/02-sh-space-before-heredoc-keyword'
2020-05-30 09:07:20 +10:00
Max Reppen
6f5bc42b87
LaTeX highlighter improvements
...
Added \(\) highlighter
2020-05-29 17:46:06 -04:00
Johannes Altmanninger
62f61df08f
fish.kak: add new fish builtins
...
eval is a proper builtin as well now
2020-05-28 21:49:47 +02:00
Johannes Altmanninger
bb865a18c1
fish.kak: fix highlighting for single quoted strings
...
fish allows to escape single quotes within single quoted strings,
just like double quotes in double quoted strings.
https://fishshell.com/docs/current/index.html#quotes
2020-05-28 21:49:47 +02:00
Ivan Tham
752ccc0946
Fix regression on setext-style markdown header
...
Reproduce:
header1
header2
-------
2020-05-28 14:33:00 +08:00
Ivan Tham
09a45a2e96
Fix setext-style markdown header highlight
...
Reproduce:
- item
header
------
2020-05-27 18:23:53 +08:00
Dmitry Matveyev
31d41c526e
Add underscore highlighting as visual separator inside Zig integers
2020-05-22 16:47:05 +03:00
Johannes Altmanninger
53309c3534
sh.kak: allow space before heredoc string
2020-05-21 08:34:58 +02:00
Maxime Coste
5933ab1e78
Split python auto-insert hooks from auto-indent
2020-05-19 17:16:05 +10:00
Frank LENORMAND
37706d7a95
colors: Retire the bold
and italic
faces
...
This commit removes declarations and mentions to the built-in `bold`
and `italic` faces.
While they could be a user-friendly way of customising how tokens
are emphasised in Markdown documents (similarly to the
`$LESS_TERMCAP_*` environment variables for `man` pagers), most other
markup languages do not have the concept of "strong" and "emphasis"
but refer directly to the font style/weight.
The faces were also not even set by default to highlight as their
names implied, so having markup language support scripts directly
use the +b and +i face attributes is more consistent.
2020-05-15 11:56:38 +03:00
Frank LENORMAND
c7043e06ee
rc ini: More leniently highlight section names
...
Highlight every character between brackets, including more
brackets. This allows alternative constructs in INI files such as:
```
[section]
[[subsection]]
```
This commit also only applies the appropriate face on the section
name itself, not the entire line (including hypothetical surrounding
whitespace characters).
2020-05-14 10:25:38 +03:00
buffet
7870685248
Fix perl regex for operator //
2020-05-05 16:22:30 +00:00
Guest0x0
36d4cf4f5b
fix indent behavior for lines without indent
2020-05-03 17:48:44 +08:00
Maxime Coste
e69b369e6f
Merge remote-tracking branch 'ifreund/meson-syntax'
2020-04-27 17:40:45 +10:00
Guest0x0
69e45dce38
basic syntax highlighting & indentation for the Coq language
2020-04-23 21:07:37 +08:00
Maxime Coste
f7ad8bd70e
Highlight mail References headers
2020-04-21 13:21:35 +10:00
Isaac Freund
b0fb7fce63
Highlight meson_options.txt as well
2020-04-15 02:49:21 +02:00
Isaac Freund
8ad6746cc8
Add basic highlighting for meson
2020-04-15 01:04:44 +02:00
Maxime Coste
fd454f90f9
Merge remote-tracking branch 'ifreund/zig-syntax'
2020-04-13 11:08:32 +10:00
Maxime Coste
52a80defd6
Merge remote-tracking branch 'Laaas/patch-1'
2020-04-13 11:07:09 +10:00
Maxime Coste
b3983dd523
Merge remote-tracking branch 'eraserhd/diff-objects'
2020-04-09 07:42:01 +10:00
Aaron Bull Schaefer
de2b3f9b9a
Add filetype support for CUE language
...
This follows the upstream spec as closely as possible.
See:
- https://cuelang.org
- https://cuelang.org/docs/references/spec/
2020-04-06 12:03:54 -07:00
Jason Felice
7e5936ba23
diff.kak: add diff file and diff hunk text objects
2020-04-03 15:48:54 -04:00
Las
e142a37f21
rc ruby: Don't recognize "keyword"-like identifiers
...
In Ruby, identifiers can end with a `!` or `?` too, which means that `class!` or `end?`are not actually keywords, but regular identifiers. This fixes that by not using `\b` but `[^0-9A-Za-z_!?]` instead in some places.
2020-03-25 21:18:21 +09:00
Isaac Freund
9396f508c2
Fix indentation of auto-extended comments
2020-03-22 20:19:43 +01:00
Isaac Freund
6198cc5e47
Encapsulate zig highlighting and commands in a module
2020-03-22 19:24:39 +01:00
Isaac Freund
3098557e25
Add indent rules
2020-03-22 19:18:15 +01:00
Isaac Freund
23b28df1b8
Use attribute face where appropriate
2020-03-22 10:50:29 +01:00
Isaac Freund
6190f8ce70
Add syntax highlighting for zig
2020-03-21 22:46:19 +01:00
Maxime Coste
f6b6b94ba6
Merge branch 'rust-indent' of http://github.com/jneem/kakoune
2020-02-25 20:13:30 +11:00
Joe Neeman
5024fe17f6
Make rust auto-indenter ignore most things inside comments.
...
Fixes #3352 .
2020-02-24 12:51:03 -06:00
Gregory Chamberlain
7babfe2508
Use filetype ini for XDG desktop entry files
...
See <https://freedesktop.org/wiki/Specifications/desktop-entry-spec/ >
2020-02-20 18:25:01 +00:00
Maxime Coste
61cae51605
Merge remote-tracking branch 'Guest0x0/master'
2020-02-16 10:48:04 +11:00
Maxime Coste
08d6268ae7
Merge remote-tracking branch 'lenormf/documentation-face'
2020-02-16 10:46:35 +11:00
Guest0x0
ab091bcf69
improve syntax highlighting
2020-02-14 07:33:47 +08:00
Maxime Coste
8eb84c6f5d
Merge branch 'master' of http://github.com/velrest/kakoune
2020-02-07 07:03:33 +11:00
Dan Rosén
8dd2373db1
Remove duplicated scopes highlight in kakrc.kak
2020-02-06 17:33:16 +01:00
Maxime Coste
1a2bf7b105
Merge branch 'patch-2' of http://github.com/Ordoviz/kakoune
2020-02-05 20:47:25 +11:00
Maxime Coste
7d4ae422d2
Merge remote-tracking branch 'lenormf/docstring-pretty'
2020-02-05 20:40:10 +11:00
Lennard Hofmann
8dbc86c54a
[sh] Do not highlight keywords if preceded/succeeded by a hyphen
2020-02-03 21:34:36 +01:00
Frank LENORMAND
275abb227e
rc: Make docstrings more readable
...
This cosmetics commit makes use of the auto-deindentation syntax,
available to docstrings.
2020-02-03 20:53:28 +01:00
Lennard Hofmann
75bb796b2b
[sh] Allow more characters in aliases and function names
...
Which characters are allowed?
- Aliases: https://www.gnu.org/software/bash/manual/html_node/Aliases.html
- Functions: https://unix.stackexchange.com/questions/245331/shell-valid-function-name-characters
For aliases I chose [\w-.] instead of blacklisting many forbidden characters. For functions I chose \S.
2020-02-03 18:59:46 +00:00
Lennard Hofmann
c6eb9bd8f0
Fix #2832
2020-02-03 18:33:27 +00:00