Commit graph

2177 commits

Author SHA1 Message Date
Tomohiro Hashidate
b41bbcbb9a
feat: add rbs parser support (#5745) 2023-12-01 01:22:29 +09:00
aMOPel
36f81e698e
feat(nim): added some captures and fixed some bugs (#5664)
* fix(nim): literals in pragmas in types would be falsly highlighted as `@variable`

* style(nim): removed trailing whitespace

* fix(nim): identifiers in (type_expression (pragma_expression)) would be
captured as `@type`

* fix(nim): changed generic parameters when declaring from @type to @parameter

* feat(nim): added @constant capture for (identifier)s x, y in
`array[x..y, type]`

* feat(nim): added @function.call capture for (identifier)s in second
argument to `varargs[type, routine]`
2023-12-01 00:21:43 +09:00
Riley Bruins
e9acd01a4a
fix(markdown): revert bullet conceals due to spacing issues (#5742) 2023-11-30 09:36:07 +09:00
Riley Bruins
8f16c39f5b feat(make): highlight phony prerequisites as functions 2023-11-29 12:31:42 +02:00
Riley Bruins
fb101ed49d feat(make): give targets the function highlight 2023-11-29 12:31:42 +02:00
Stephan Seitz
10432e6b0f parsers: add tree-sitter-slang 2023-11-29 00:54:24 -08:00
Bryan Kenote
bf982eb7dc
feat: add facility 2023-11-28 12:24:43 -05:00
HumblePresent
ba588ee0cf fix(cpp): remove @field for identifiers with _ prefix (#5731) 2023-11-27 18:18:38 -05:00
virchau13
8189d91cf8
astro: add custom component highlighting (#5728) 2023-11-27 22:11:28 +09:00
Christian Clason
274370e703 fixup: use any-of instead of vim-match 2023-11-26 15:24:26 +01:00
Christian Clason
1e74c34b66 feat: add angular parser and queries 2023-11-26 15:24:26 +01:00
sheepwall
9d91101f71
twig queries: add combined injections (#5721)
Co-authored-by: August Svensson <august.svensson@metabytes.se>
2023-11-26 20:12:06 +09:00
Patrick Haun
71bdf97bf6
feat(hocon): add fold query (#5710) 2023-11-23 15:42:00 +02:00
Riley Bruins
2a5f6c9eb7 fix(css): tweak operator keyword highlights 2023-11-22 19:11:45 -05:00
Riley Bruins
7da3cb6323 feat(regex): any_character, start end assertion hl differentiation 2023-11-21 07:13:51 -05:00
ObserverOfTime
6b24db0c8f feat: add properties parser 2023-11-21 13:13:26 +02:00
Riley Bruins
1610b1aafb
feat(python): @string.regex capture, injection improvements (#5697)
* feat(python): `@string.regex` capture, injection improvements

* fix(python): match regex only for first argument of re module

* chore(python): remove unneeded capture

Co-authored-by: Santos Gallegos <stsewd@proton.me>

* fix(python): only highlight string content itself as regex

---------

Co-authored-by: Santos Gallegos <stsewd@proton.me>
2023-11-21 01:26:18 +09:00
Amaan Qureshi
d876296476
feat: add Linkerscript (#5693) 2023-11-19 18:10:52 +09:00
Riley Bruins
b016211057 feat(lua): folds for parameter, argument lists 2023-11-19 10:45:33 +02:00
Riley Bruins
f2de95e30a
feat(markdown): conceals for bullets, block quotes
* feat(markdown): conceals for bullets, block quotes

* fix: remove conceals for block quotes, change list minus to em dash

* fix(markdown): allow empty bullets to be concealed
2023-11-19 10:20:51 +09:00
ObserverOfTime
f9999888eb feat(jq): add locals queries
and highlight function calls
2023-11-18 19:03:19 -05:00
ObserverOfTime
f1fc7c2e76 feat(xml,dtd): add locals queries 2023-11-18 19:03:19 -05:00
ObserverOfTime
9e5a34c2b9 feat(gitattributes): add locals queries 2023-11-18 19:03:19 -05:00
ObserverOfTime
2bd2c4ce23 feat(ssh_config): add locals queries 2023-11-18 19:03:19 -05:00
ObserverOfTime
78740f1895 feat(udev): add locals queries 2023-11-18 19:03:19 -05:00
ObserverOfTime
6498be930e feat(xcompose): add locals queries 2023-11-18 19:03:19 -05:00
Marc Jakobi
5240574bcb
feat(haskell): tweak highlights
* add cases for `qualified_variable`

* add function defined in terms of composition
2023-11-18 19:02:29 -05:00
Pham Huy Hoang
a9f4a916aa chore(apex): update apex queries 2023-11-18 11:30:28 +01:00
Amaan Qureshi
557561fbc1 chore(rust): update queries from upstream 2023-11-17 13:32:09 +01:00
Pham Huy Hoang
8199529bc4 chore(apex): Update queries 2023-11-17 18:09:15 +09:00
Vincent Rischmann
da6646c3e5
feat: add templ
---------

Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2023-11-16 16:12:55 -05:00
Mark McCulloh
17e77749c1
fix(wing): update parser and queries, add maintainer (#5671) 2023-11-13 19:04:27 +00:00
Riley Bruins
075a64addc feat: highlight regular latex text to maintain consistency with boldfaced and italic text 2023-11-11 10:14:43 +01:00
Amaan Qureshi
c543ffae1c fix(ecma): prioritize builtins 2023-11-10 19:08:12 -05:00
Amaan Qureshi
f53e6e82df fix(cpp): highlight constexpr 2023-11-10 16:08:46 -05:00
ObserverOfTime
d4fb7557ba feat: add xcompose parser 2023-11-10 14:10:20 -05:00
ObserverOfTime
04a9a90c2a fix(htmldjango): improve highlights 2023-11-10 15:22:40 +02:00
ObserverOfTime
b09d645098 fix(kotlin): improve highlights
Co-authored-by: Anthony Shi <69449791+anthony-S93@users.noreply.github.com>
2023-11-10 11:15:30 +02:00
postsolar
bf18ff20ae
feat(purescript): add parser and queries (#5626) 2023-11-08 18:07:02 +02:00
Willem-J-an
629cae1f0f
feat(kusto): add kusto parser and highlights (#5632)
* feat(kusto): add kusto parser and highlights

* feat(kusto): improve highlights

* Update queries/kusto/highlights.scm

Co-authored-by: ObserverOfTime <chronobserver@disroot.org>

* chore(kusto): remove unneeded filetype

---------

Co-authored-by: Willem Jan Noort <noortw01@heiway.net>
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2023-11-08 09:11:19 +00:00
Amaan Qureshi
eacb5e9468 chore(bitbake): update highlights from upstream 2023-11-08 08:08:17 +01:00
ObserverOfTime
9a746b4b6a feat: add udev rules parser 2023-11-07 12:17:38 +02:00
Pham Huy Hoang
80f66cdef1
injections(vue): inject typescript instead of js (#5577)
Interpolations (`{{valid js code}}`) and directive attributes
(`<element :directive="valid js code"`) can also be typescript code,
hence we can inject typescript instead of javascript here and still
be ok with highlights (bar some syntax differences between ts and js)
2023-11-06 11:04:13 +09:00
Ramkumar Ramachandra
b3d2c36254 mlir: update highlights.scm, parser 2023-11-05 13:36:18 +01:00
Brian Albert Monroe
c5a7533113
fix(rnoweb): add highlights query (#5622)
Add a placeholder highlights query files for rnoweb to enable treesitter highlighting
2023-11-03 22:51:41 +09:00
Veesh Goldman
a689957480 pod: fix highlights 2023-11-03 14:23:40 +02:00
Veesh Goldman
fca784da0e perl: fix highlights for builtins 2023-11-03 14:23:40 +02:00
Derek Stride
1920285ec1 fix(sql): update queries from upstream 2023-11-02 19:39:34 +01:00
Azad
198015cca1
fix(query): stricter match for extends directive (#5604) 2023-11-02 19:02:41 +09:00
Amaan Qureshi
051ce73fcd chore(odin): update highlights from upstream 2023-11-01 20:08:04 -04:00