diff options
| author | Munif Tanjim <hello@muniftanjim.dev> | 2023-09-07 11:45:24 +0600 |
|---|---|---|
| committer | Amaan Qureshi <amaanq12@gmail.com> | 2023-09-07 03:36:55 -0400 |
| commit | 80b4fa7970ee159e5c2c715bbcd386143c48dcb1 (patch) | |
| tree | 351e3d98e7564852a3cd63c4e4caa3f5fe2aa725 | |
| parent | Update parsers: elm, wing (diff) | |
| download | nvim-treesitter-80b4fa7970ee159e5c2c715bbcd386143c48dcb1.tar nvim-treesitter-80b4fa7970ee159e5c2c715bbcd386143c48dcb1.tar.gz nvim-treesitter-80b4fa7970ee159e5c2c715bbcd386143c48dcb1.tar.bz2 nvim-treesitter-80b4fa7970ee159e5c2c715bbcd386143c48dcb1.tar.lz nvim-treesitter-80b4fa7970ee159e5c2c715bbcd386143c48dcb1.tar.xz nvim-treesitter-80b4fa7970ee159e5c2c715bbcd386143c48dcb1.tar.zst nvim-treesitter-80b4fa7970ee159e5c2c715bbcd386143c48dcb1.zip | |
fix(lua): highlights for attribute
| -rw-r--r-- | queries/lua/highlights.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/queries/lua/highlights.scm b/queries/lua/highlights.scm index 7608da57a..ecc81b91e 100644 --- a/queries/lua/highlights.scm +++ b/queries/lua/highlights.scm @@ -140,9 +140,10 @@ (#eq? @keyword.coroutine "coroutine")) (variable_list - attribute: (attribute - (["<" ">"] @punctuation.bracket - (identifier) @attribute))) + (attribute + "<" @punctuation.bracket + (identifier) @attribute + ">" @punctuation.bracket)) ;; Labels |
