diff options
| author | Riley Bruins <ribru17@hotmail.com> | 2024-05-12 18:07:34 -0700 |
|---|---|---|
| committer | Amaan Qureshi <amaanq12@gmail.com> | 2024-05-14 00:05:51 -0400 |
| commit | 14cd8c5db1261ecbc46d090f3ccffe98844caa25 (patch) | |
| tree | f892161ded20eb5a62295747604099e70aceb71f | |
| parent | feat(php): add highlights for scoped_property_access (diff) | |
| download | nvim-treesitter-14cd8c5db1261ecbc46d090f3ccffe98844caa25.tar nvim-treesitter-14cd8c5db1261ecbc46d090f3ccffe98844caa25.tar.gz nvim-treesitter-14cd8c5db1261ecbc46d090f3ccffe98844caa25.tar.bz2 nvim-treesitter-14cd8c5db1261ecbc46d090f3ccffe98844caa25.tar.lz nvim-treesitter-14cd8c5db1261ecbc46d090f3ccffe98844caa25.tar.xz nvim-treesitter-14cd8c5db1261ecbc46d090f3ccffe98844caa25.tar.zst nvim-treesitter-14cd8c5db1261ecbc46d090f3ccffe98844caa25.zip | |
feat(slint): highlight enum members as constants
| -rw-r--r-- | queries/slint/highlights.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/queries/slint/highlights.scm b/queries/slint/highlights.scm index 8ab232c83..1b56b1c0d 100644 --- a/queries/slint/highlights.scm +++ b/queries/slint/highlights.scm @@ -47,6 +47,9 @@ (user_type_identifier) @type +(enum_block + (user_type_identifier) @constant) + ; Functions and callbacks (argument) @variable.parameter |
