hss
566143ac6d
rc swift: highlight multiline strings
2021-03-07 21:26:31 -05:00
Maxime Coste
60c44e1623
Merge remote-tracking branch 'andreyorst/fennel-filetype'
2021-03-02 21:13:25 +11:00
Andrey Listopadov
877cc9cf88
add fennel filetype
2021-03-01 19:51:36 +03:00
Maxime Coste
ca5e6f835c
Merge remote-tracking branch 'gf3/graphql-syntax'
2021-03-01 08:27:36 +11:00
Maxime Coste
a0f567f5e6
Merge remote-tracking branch 'm-kru/troff_comment'
2021-03-01 08:26:02 +11:00
Isa Cichon
0fc91b9576
Fix usages of ModeChange hook
...
hook param always begins with either push: or pop:
Fixes #4078
2021-02-28 21:07:21 +01:00
Michał Kruszewski
b7def7350c
Add comment highlighter for troff files.
...
Add comment highlighter for troff files.
Also highlight the end of the macro definition.
2021-02-25 20:18:10 +01:00
Maxime Coste
70548ecc14
Merge remote-tracking branch 'rwpeterson/juliahl'
2021-02-25 20:23:10 +11:00
Bob Peterson
c457c2b1c1
rc julia: add multiline comments
2021-02-21 19:20:03 +01:00
Ivan Tham
4e594e034a
Dedent rust await function with ?
2021-02-17 01:17:17 +08:00
Ivan Tham
049591f6b4
Dedent rust empty match
2021-02-17 01:17:14 +08:00
Maxime Coste
fb30d3751c
Merge remote-tracking branch 'krobelus/yaml-comment'
2021-02-11 20:30:34 +11:00
Maxime Coste
1440db3f89
Merge remote-tracking branch 'krobelus/rest-leaked-code-highlighting'
2021-02-11 20:29:43 +11:00
Johannes Altmanninger
7ddaf071c7
rc java: highlight byte/short/long primitive types
2021-02-10 21:09:30 +01:00
Johannes Altmanninger
41059b3f0c
rc yaml: "#" inside a word is not a comment
2021-02-10 21:09:25 +01:00
Johannes Altmanninger
cfae4dda91
rc restructuredtext: don't highlight first character of next line as code
...
Reproduce by creating a *.rst buffer with the text below. The "N" used to
be highlighted as code.
::
code
Not code
2021-02-10 21:09:16 +01:00
Maxime Coste
69f1c8cae5
Merge remote-tracking branch 'Ordoviz/markdown'
2021-01-28 21:02:47 +11:00
Lennard Hofmann
61fabee03f
rc markdown: Highlight HTML tags
2021-01-19 15:42:37 +01:00
Maxime Coste
2578759252
Merge remote-tracking branch 'chambln/pfm'
2021-01-19 20:55:03 +11:00
Maxime Coste
86997bfa09
Merge remote-tracking branch 'SeerLite/js-multiline-division'
2021-01-19 20:54:32 +11:00
Maxime Coste
5b7048dc34
Merge remote-tracking branch 'ifreund/meson-fix'
2021-01-19 20:54:25 +11:00
Isaac Freund
033b55c3ac
zig.kak: fix highlighting of empty doc comment
...
If a line contains three slashes directly followed by a new line, the
next line is also erroneously highlighted as a doc comment currently.
Using a lookahead instead fixes this.
2021-01-18 00:44:32 +01:00
Gianni Chiappetta
fe3f8d2271
chore(rc): support nested field strings in graphql
2021-01-14 15:46:50 -05:00
Gianni Chiappetta
69a152d680
chore(rc): change graphql block delimiters to support better regexs
2021-01-14 11:40:17 -05:00
Gianni Chiappetta
ec80d83e71
feat(rc): improve graphql field arguments highlighter
2021-01-13 21:37:08 -05:00
Gianni Chiappetta
d8f65bd0ec
feat(rc): match .graphqls
file extension as graphql filetype
2021-01-13 21:31:29 -05:00
Gianni Chiappetta
1c639f7810
feat(rc): improve graphql syntax highlighters
2021-01-13 21:29:03 -05:00
Isaac Freund
233b990275
meson: improve highlighting, add static words
...
Now all functions are highlighted and builtins are highlighted
with their own face.
2021-01-13 15:44:38 +01:00
SeerLite
569267b18d
rc js: Correctly highlight multiline division.
2021-01-11 13:06:38 -03:00
Gregory Chamberlain
a49b1c4996
Adjust markdown code fences filetype regex
...
This highlighter (line 50 of markdown.kak) looks for the filetype
specified by the author at the top of the code fence, e.g.
``` python
print("hello")
```
and highlights the code within using Kakoune's relevant highlighter --
in this case Python.
Some flavours of markdown use curly braces and other characters in the
first line such as the following:
``` {=python}
print("hello")
```
Previously Kakoune recognised `{=python}` but not `{.python}`. The latter
is Pandoc's flavour of markdown. This patch adjusts the regex patterns
to recognise the dot notation as well.
2021-01-08 10:24:04 +00:00
Lennard Hofmann
f65d5210f8
rc markdown: Prevent underscores in URLs cause italic highlighting
...
Create regions to achieve that. Add support for inline links.
2021-01-05 18:51:37 +01:00
Maxime Coste
c8378eb7f2
Merge remote-tracking branch 'Ordoviz/pascal'
2021-01-03 11:28:11 +11:00
Lennard Hofmann
3eabeac3c9
Add Pascal/Delphi language support
2020-12-29 12:20:33 +01:00
Maxime Coste
74b6c20a0d
Merge remote-tracking branch 'pickfire/rust-indent-bracket'
2020-12-21 09:00:35 +11:00
Maxime Coste
ec41a93c35
Merge remote-tracking branch 'greneholt/ruby-syntax'
2020-12-21 08:55:56 +11:00
Ivan Tham
1965b909e1
Rust dedent after .await
2020-12-17 20:07:44 +08:00
Ivan Tham
ffbdcaa95c
Rust handle [ indent like { and (
2020-12-17 11:19:23 +08:00
Maxime Coste
5849b860bd
Merge remote-tracking branch 'ifreund/zig-syntax'
2020-12-05 10:50:05 +11:00
Isaac Freund
698b028f83
zig: highlight escapes in strings, update to 0.7.0
2020-11-23 19:03:53 +01:00
Michał Kruszewski
4cb9a46f2b
Python: change face for documentation to documentation.
2020-11-23 07:31:56 +01:00
Maxime Coste
14f7d2637c
Fix test and re-add triple_string support in python highlighting
...
Triple strings are now distinct from docstrings, triple strings
only preceeded by blanks on the line are considered docstrings.
Avoid highlighting of the closing marker using a lookahead, this
is not fully correct as it will break on a double quote triple
docstring containing a single quote triple string but that seems
improbable enough; if we encounter this in the wild we can split
the two docstring formats into separate regions.
2020-11-23 08:45:59 +11:00
Maxime Coste
024e0a04f2
Merge remote-tracking branch 'm-kru/python_docstring_comment'
2020-11-22 17:02:31 +11:00
Maxime Coste
f97a4be330
Merge remote-tracking branch 'lenormf/organise-kakrc-keywords'
2020-11-22 16:56:53 +11:00
Maxime Coste
a449bcb62f
Merge remote-tracking branch 'm-kru/vhdl_filetype_fix'
2020-11-22 16:55:52 +11:00
Michał Kruszewski
fd047e332f
Python: Highlight docstrings with documentation face, not string.
2020-11-20 15:33:22 +01:00
connor
8b0fe9cfb0
Avoid recognizing remainder division as a percent string
2020-11-18 16:26:33 -07:00
Frank LENORMAND
9237fc0388
rc kakrc: Add the rename-buffer
keyword
2020-11-17 15:58:58 +03:00
Frank LENORMAND
8a1ac1998d
rc kakrc: Add the arrange-buffers
keyword
2020-11-17 15:52:18 +03:00
Frank LENORMAND
f4a387dd10
rc kakrc: Sort the keywords
2020-11-17 15:51:30 +03:00
Maxime Coste
cdcf4b0c7d
Merge remote-tracking branch 'JJK96/svelte'
2020-11-17 07:19:13 +11:00