diff options
| author | DragonBillow <42114817+cathaysia@users.noreply.github.com> | 2024-07-10 20:05:13 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-10 14:05:13 +0200 |
| commit | d5969c481e811958123f25c2c559cb7b4b6ca217 (patch) | |
| tree | 587907ef07c05f0343a991036ab25c015a016e7b /queries/idl | |
| parent | bot(lockfile): update idl, swift (diff) | |
| download | nvim-treesitter-d5969c481e811958123f25c2c559cb7b4b6ca217.tar nvim-treesitter-d5969c481e811958123f25c2c559cb7b4b6ca217.tar.gz nvim-treesitter-d5969c481e811958123f25c2c559cb7b4b6ca217.tar.bz2 nvim-treesitter-d5969c481e811958123f25c2c559cb7b4b6ca217.tar.lz nvim-treesitter-d5969c481e811958123f25c2c559cb7b4b6ca217.tar.xz nvim-treesitter-d5969c481e811958123f25c2c559cb7b4b6ca217.tar.zst nvim-treesitter-d5969c481e811958123f25c2c559cb7b4b6ca217.zip | |
feat(idl): update parser and queries (#6901)
Signed-off-by: DragonBillow <DragonBillow@outlook.com>
Diffstat (limited to 'queries/idl')
| -rw-r--r-- | queries/idl/highlights.scm | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/queries/idl/highlights.scm b/queries/idl/highlights.scm index 051690836..9c51513d9 100644 --- a/queries/idl/highlights.scm +++ b/queries/idl/highlights.scm @@ -106,7 +106,12 @@ (boolean_literal) @boolean -(number_literal) @number +(integer_literal) @number + +[ + (floating_pt_literal) + (fixed_pt_literal) +] @number.float (char_literal) @character @@ -400,3 +405,11 @@ (system_lib_string "<" @string ">" @string) + +(extend_annotation_appl + "//@" @attribute + (annotation_appl_custom_body)) + +(extend_annotation_appl + "//@" @attribute.builtin + (annotation_appl_builtin_body)) |
