Commit graph

4 commits

Author SHA1 Message Date
ObserverOfTime
97e08483d8 highlights(pascal): use more specific groups 2022-11-26 13:17:51 +02:00
Philip Zander
b058034029 highlights(Pascal): Fix highlighting of types
A recent change broke highlighting for namespaces & generic types like
`foo.bar` and `foo<t>`.
2022-01-05 20:59:26 +01:00
Philip Zander
fa2a6b68aa highlights(pascal): Highlight variables
Assume that any identifiers that aren't function calls, types, fields or
constants are variables. This is consistent with the highlighting
definitions for other languages. Some themes (e.g. zenbones) make use of
this information and they don't look quite right unless we set those
groups.
2021-12-29 23:38:43 +01:00
Isopod
9174b095b6
Add support for Pascal (#2153)
* Add support for Pascal

* Pascal: Replace some of the capture groups, use lua-match where possible
2021-12-24 13:53:32 -05:00