diff options
| author | Riley Bruins <ribru17@hotmail.com> | 2024-03-16 17:36:53 -0700 |
|---|---|---|
| committer | Amaan Qureshi <amaanq12@gmail.com> | 2024-03-16 20:45:29 -0400 |
| commit | 3c7a0e9d949d3968bc3f95743f7d2c8c4666048c (patch) | |
| tree | 55e5fb6b534a4d3e298374466bd331ad29f217ac /queries/rust/highlights.scm | |
| parent | fix(htmldjango): update highlights (diff) | |
| download | nvim-treesitter-3c7a0e9d949d3968bc3f95743f7d2c8c4666048c.tar nvim-treesitter-3c7a0e9d949d3968bc3f95743f7d2c8c4666048c.tar.gz nvim-treesitter-3c7a0e9d949d3968bc3f95743f7d2c8c4666048c.tar.bz2 nvim-treesitter-3c7a0e9d949d3968bc3f95743f7d2c8c4666048c.tar.lz nvim-treesitter-3c7a0e9d949d3968bc3f95743f7d2c8c4666048c.tar.xz nvim-treesitter-3c7a0e9d949d3968bc3f95743f7d2c8c4666048c.tar.zst nvim-treesitter-3c7a0e9d949d3968bc3f95743f7d2c8c4666048c.zip | |
feat(rust): move pub to `@keyword.modifier`
Also consolidates most of the captures
Diffstat (limited to 'queries/rust/highlights.scm')
| -rw-r--r-- | queries/rust/highlights.scm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/queries/rust/highlights.scm b/queries/rust/highlights.scm index 64976b663..332ee12fa 100644 --- a/queries/rust/highlights.scm +++ b/queries/rust/highlights.scm @@ -256,7 +256,6 @@ "impl" "let" "move" - "pub" "struct" "trait" "type" @@ -274,10 +273,8 @@ [ "ref" + "pub" (mutable_specifier) -] @keyword.modifier - -[ "const" "static" "dyn" |
