diff options
| author | player01osu <player01osu@gmail.com> | 2024-05-30 21:55:22 -0400 |
|---|---|---|
| committer | Amaan Qureshi <amaanq12@gmail.com> | 2024-05-30 22:25:35 -0400 |
| commit | f770df9c8cd56c05b878cdf35115ad872c822bc0 (patch) | |
| tree | 04e8b4a400606ddb5d93f70d5302b822e3ec7bc6 | |
| parent | bot(lockfile): update idl, julia, nickel, sourcepawn (diff) | |
| download | nvim-treesitter-f770df9c8cd56c05b878cdf35115ad872c822bc0.tar nvim-treesitter-f770df9c8cd56c05b878cdf35115ad872c822bc0.tar.gz nvim-treesitter-f770df9c8cd56c05b878cdf35115ad872c822bc0.tar.bz2 nvim-treesitter-f770df9c8cd56c05b878cdf35115ad872c822bc0.tar.lz nvim-treesitter-f770df9c8cd56c05b878cdf35115ad872c822bc0.tar.xz nvim-treesitter-f770df9c8cd56c05b878cdf35115ad872c822bc0.tar.zst nvim-treesitter-f770df9c8cd56c05b878cdf35115ad872c822bc0.zip | |
fix(odin): highlight types with underscores
| -rw-r--r-- | queries/odin/highlights.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/odin/highlights.scm b/queries/odin/highlights.scm index 9e65937aa..ea8d401e2 100644 --- a/queries/odin/highlights.scm +++ b/queries/odin/highlights.scm @@ -192,7 +192,7 @@ (identifier) @type) ((identifier) @type - (#lua-match? @type "^[A-Z][a-zA-Z0-9]*$") + (#lua-match? @type "^[_A-Z][_a-zA-Z0-9]*$") (#not-has-parent? @type parameter procedure_declaration call_expression)) ; Fields |
