Munif Tanjim
63d7e456ea
highlights(ecma): add pair_pattern punctuation.delimiter
2022-10-17 14:37:36 -07:00
Christian Clason
42ab95d5e1
feat!: remove obsolete TS* highlight groups
2022-10-16 15:50:55 +02:00
ObserverOfTime
0bfeb5484e
test(gitattributes): add tests for highlights
2022-10-15 08:44:41 -07:00
Stephan Seitz
53742779e3
highlights(rust): distinguish between "for" in loops and impl_item
...
Fixes #3641
2022-10-15 04:02:20 -07:00
Stephan Seitz
d11d35fb61
highlights(hack): use @function.call/@method.call
2022-09-11 04:16:06 -07:00
Stephan Seitz
f66a911a95
highlights(ecma): use @method.call/function.call
2022-09-11 04:16:06 -07:00
lfenzo
64f3f7415d
(Broken test fixed) Updated static-namespace-functins.cpp to use function.call
2022-08-03 12:05:30 -07:00
Bruno BELANYI
fcba0368a6
fix(tiger): add 'ft' modeline in highlight corpus
2022-06-14 22:34:03 +02:00
Bruno BELANYI
b8e3b03748
fix(tiger): adjust invalid queries
2022-06-14 22:34:03 +02:00
Bruno BELANYI
6e3f888dc7
test(tiger): import upstream tests
2022-06-14 22:34:03 +02:00
Santos Gallegos
f1373051e5
Python: highlight future import ( #2936 )
...
* Python: highlight future import
* Use constant.builtin
2022-05-13 21:46:06 +00:00
Stephan Seitz
a4f9539a0c
highlights(cpp): make "::" @punctuation.delimiter
...
Fixes #2902
2022-05-07 13:30:36 +02:00
Santos Gallegos
132405f18f
Python: highlight raise from statement
2022-05-01 10:06:13 +02:00
Stephan Seitz
b8d1c2445a
highlights(python): "from" in yield should be @keyword.return
...
Fixes #2712
2022-04-01 17:00:21 +02:00
YongJieYongJie
fc0b881f93
Refactor solidity highlights.scm further
...
- Instead of @keyword, use @conditional, @exception, @return, @function
as appropriate
- Standardize to using @field (instead of @property)for struct members
2022-03-11 19:06:39 +01:00
YongJieYongJie
8f3991065d
Refactor solidity highlights.scm
...
- Use more specific/appropriate captures; change invalid captures
- Don't highlight punctuations in type names (e.g., the brackets in
'bytes32[]')
2022-03-11 19:06:39 +01:00
YongJieYongJie
a180859eea
Add highlights query for Solidity
2022-03-11 19:06:39 +01:00
Connor Lay (Clay)
00dce44780
Gleam highlight tests
2022-02-15 19:01:02 +01:00
Stephan Seitz
e4675bc410
highlights(c/cpp): highlight case labels as constants
2022-01-29 13:11:56 +01:00
Stephan Seitz
974e2181a0
highlights(cpp): fix function highlighting of Foo::bar::baz()
...
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/2396
2022-01-29 12:40:35 +01:00
Stephan Seitz
c4e3564ea3
highlights(python): add support for pattern matching
...
Fixes #2080
Depends on https://github.com/tree-sitter/tree-sitter-python/pull/140
2022-01-28 19:11:20 +01:00
Stephan Seitz
668de0951a
chore: remove swift tests for now (cause CI failure)
...
Will try to add them again in a follow up.
2022-01-18 22:09:21 +01:00
Stephan Seitz
cc1890528f
highlights(swift): add more @operators and implicit keyword
2022-01-18 22:09:21 +01:00
Stephan Seitz
a3c86fe843
highlights(swift): highlight punctuation
...
"?" is still missing:
https://github.com/tree-sitter/tree-sitter-swift/issues/38
2022-01-18 22:09:21 +01:00
Stephan Seitz
6a61461d18
highlights(hack): add keywords implements
2022-01-17 10:53:35 +01:00
Stephan Seitz
cc0bdabe5f
highlights(hack): extend queries add tests
2022-01-17 10:53:35 +01:00
Stephan Seitz
db01c82b08
highlights(cpp): add support for concepts
...
Requires https://github.com/tree-sitter/tree-sitter-cpp/pull/138
2022-01-16 22:19:34 +01:00
Stephan Seitz
4cf688ee68
ci: fix markdown tests
2022-01-16 19:14:52 +01:00
Stephan Seitz
dada29a1e5
fix(ci): make highlight test working with markdown
2022-01-16 17:16:54 +01:00
antosha417
d5147a608a
add highlights tests
2022-01-16 14:59:39 +01:00
numToStr
0f01bbb1c2
chore(markdown): highlights test
2022-01-07 11:14:29 +01: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
jirgn
6b5b37cc3e
update fusion to version 1.1.1 ( #2148 )
...
* feat(fusion): update tests
* fix(fusion): update lockfile
* fix(fusion): update to (highlight breaking) version 1.1.0
* update grammer to introduce afx support
* update tests and queries
* fix: revert lockfile update of unrelated grammars
* fix: update to 1.1.1 and fix hightlights
* fix: use @tag.attribute capture to match specs
Co-authored-by: Jirgn <jirgn76@googlemail.com>
2021-12-23 11:18:15 -05:00
numToStr
63630ec082
highlights(lua): next as builtin function
2021-12-13 20:22:05 +01:00
Jirgn
f51aa0b75e
feat(fusion): update tests
2021-12-06 21:51:53 +01:00
Stephan Seitz
28cc92a2f6
highlights(bash): highlight "((" "))"
2021-11-28 15:01:24 +01:00
elianiva
e64fe530cd
test(prisma): add initial test
2021-11-28 00:36:24 +01:00
Jirgn
096f0e91be
fix: incorrect hightlight groups
2021-11-26 22:04:59 +01:00
Jirgn
a0ad73493e
fix: typo in highlight group punct(u)ation
2021-11-26 22:04:59 +01:00
Jirgn
979c32493d
feat: add fusion grammar and highlights
2021-11-26 22:04:59 +01:00
numToStr
bbbb2f1f32
chore: add test for ecma private fields & methods
2021-11-25 15:42:24 +01:00
Stephan Seitz
53ba38327e
Add highlight tests
2021-11-24 17:29:55 +01:00