Commit graph

2202 commits

Author SHA1 Message Date
Zhuofeng Wang
e277ca9dec fix(markdown_inline): latex highlight injection (#5397)
The `injection.include-children` is needed in markdown_inline parser.
2024-01-05 10:58:35 +01:00
Riley Bruins
8ae4080c5b fix(latex): highlight text functions 2024-01-04 20:07:31 +01:00
Christian Degnbol Madsen
65ef62092e fix(julia): add missing capture of ":" in selected import
If writing a selected import, e.g. `using BSON: @load`, the colon isn't currently captured.
This change captures it as `@punctuation.delimiter`.
2024-01-02 11:43:08 +01:00
Riley Bruins
374966b25c
fixup(luau): align @string.regex to the injections (#5829) 2023-12-24 14:00:32 +09:00
Riley Bruins
cd4de5f7b1 fix: cleanup luap injection queries 2023-12-23 22:26:02 +01:00
Riley Bruins
92572c0dfd feat: more @string.regex highlights 2023-12-23 22:26:02 +01:00
Riley Bruins
1c619f5f20
feat(luap): highlights more consistent with regex (#5819) 2023-12-23 11:40:10 +02:00
Christian Degnbol Madsen
454c3a9ba8
fix(julia): pipe function highlight (#5815)
In Julia when piping into a function the function should be highlighted as a function call, and not a variable.
2023-12-22 12:24:04 +02:00
Jędrzej Boczar
d496c5e08e
fix(cpp): incorrect indent of class with opening { on new line (#5811) 2023-12-22 05:49:13 +09:00
Christian Clason
d2d3df8613
vimdoc: add note, warning, deprecated (#5817) 2023-12-21 22:29:31 +09:00
Ahnaf Rafi
c153019e11 Add @nospell annotation to label definitions and references 2023-12-21 10:55:50 +01:00
Marc Jakobi
732c8cb0b4 highlights(haskell): add fail to exception highlights 2023-12-20 13:08:06 +01:00
Marc Jakobi
96e01877b8 highlights(haskell): namespaced string quasiquote 2023-12-20 13:07:44 +01:00
Mark Skelton
a0b815497b
feat: add tree-sitter-styled (#5735)
* Add styled parser

* Add queries

* Update highlights

* Remove unnecessary highlights

* Update injections to use the styled grammar

* Remove requires npm
2023-12-19 21:53:00 +09:00
Riley Bruins
24be1534db fix(rust): highlight inline attributes properly 2023-12-18 11:47:01 -05:00
aMOPel
edacfa2eed
fix(nim): minor improvements to queries and parser (#5784)
* fix(nim): bump parser again to include minor fix

* fix(nim): shifting around for precedence

* fix(nim): added new fields from recent parser version,
improved support for (conditional_declaration) and (variant_declaration)
2023-12-19 01:32:06 +09:00
Vincent Rischmann
000f71842b
feat(gomod): highlight the toolchain directive (#5795) 2023-12-15 21:01:31 +02:00
Christian Clason
9bc1f1e640 fix(v): adapt to removed scanner.c 2023-12-15 10:24:32 +01:00
ObserverOfTime
ab818bf5a2 fix(python): restrict typed parameter highlight
Only the name is a parameter and not the value
2023-12-14 13:05:40 -05:00
ObserverOfTime
2583eb351b fix(python): highlight variadic lambda parameters 2023-12-14 13:05:40 -05:00
r001
b6b9ca448b
indents added new language highlights added (#5777) 2023-12-10 16:16:24 +09:00
ObserverOfTime
7958ff9ec7 feat(poe_filter): add new Import statement 2023-12-09 17:18:16 +02:00
ObserverOfTime
1b5bbb54b3 fix(vim): highlight 'scriptencoding' command 2023-12-09 11:12:07 +01:00
gbprod
bd55179893
feat(gitcommit): add highlight group for subject_prefix (#5774) 2023-12-09 12:36:17 +09:00
ObserverOfTime
3065a928fc fix(java): move attributes after constants 2023-12-04 20:41:28 -05:00
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