aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights
diff options
context:
space:
mode:
authorObserverOfTime <chronobserver@disroot.org>2022-10-28 17:26:32 +0300
committerObserverOfTime <chronobserver@disroot.org>2022-11-26 13:17:51 +0200
commit08bd9d0e088aefa7eb9c1ccf773e2c0f477eeaa3 (patch)
treec4fe93e7c7fbfcc37590d8d78889179dddb60bab /tests/query/highlights
parenthighlights(swift): fix captures (diff)
downloadnvim-treesitter-08bd9d0e088aefa7eb9c1ccf773e2c0f477eeaa3.tar
nvim-treesitter-08bd9d0e088aefa7eb9c1ccf773e2c0f477eeaa3.tar.gz
nvim-treesitter-08bd9d0e088aefa7eb9c1ccf773e2c0f477eeaa3.tar.bz2
nvim-treesitter-08bd9d0e088aefa7eb9c1ccf773e2c0f477eeaa3.tar.lz
nvim-treesitter-08bd9d0e088aefa7eb9c1ccf773e2c0f477eeaa3.tar.xz
nvim-treesitter-08bd9d0e088aefa7eb9c1ccf773e2c0f477eeaa3.tar.zst
nvim-treesitter-08bd9d0e088aefa7eb9c1ccf773e2c0f477eeaa3.zip
highlights(solidity): use more specific groups
Diffstat (limited to 'tests/query/highlights')
-rw-r--r--tests/query/highlights/solidity/test.sol6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/query/highlights/solidity/test.sol b/tests/query/highlights/solidity/test.sol
index 42a335182..a4b642ee6 100644
--- a/tests/query/highlights/solidity/test.sol
+++ b/tests/query/highlights/solidity/test.sol
@@ -3,14 +3,14 @@
// SPDX-License-Identifier: GPL-3.0
// ^ comment
pragma solidity >=0.7.0 <0.9.0;
-// ^ keyword
-// ^ tag
+// ^ preproc
+// ^ attribute
import * as something from "anotherFile";
// ^ ^ ^ include
/// @title Voting with delegation.
-// ^ attribute
+// ^ preproc
contract Ballot {
// ^keyword
// ^ type