diff options
| author | antonk52 <halloy52@gmail.com> | 2021-07-04 19:55:59 +0300 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-07-04 21:49:17 +0200 |
| commit | bd9095e96986fbb65829a3dbc598f9b35d9b7db2 (patch) | |
| tree | a03f490fa20eb011bfb9cd1d5a3008df26bb6cbb /queries/java | |
| parent | locals: add more scopes (diff) | |
| download | nvim-treesitter-bd9095e96986fbb65829a3dbc598f9b35d9b7db2.tar nvim-treesitter-bd9095e96986fbb65829a3dbc598f9b35d9b7db2.tar.gz nvim-treesitter-bd9095e96986fbb65829a3dbc598f9b35d9b7db2.tar.bz2 nvim-treesitter-bd9095e96986fbb65829a3dbc598f9b35d9b7db2.tar.lz nvim-treesitter-bd9095e96986fbb65829a3dbc598f9b35d9b7db2.tar.xz nvim-treesitter-bd9095e96986fbb65829a3dbc598f9b35d9b7db2.tar.zst nvim-treesitter-bd9095e96986fbb65829a3dbc598f9b35d9b7db2.zip | |
feat(keywords) add keyword.return & keyword.yield
Diffstat (limited to 'queries/java')
| -rw-r--r-- | queries/java/highlights.scm | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/queries/java/highlights.scm b/queries/java/highlights.scm index 07c524e9d..c494b687b 100644 --- a/queries/java/highlights.scm +++ b/queries/java/highlights.scm @@ -174,8 +174,6 @@ "provides" "public" "requires" -"return" -"yield" "static" "strictfp" "synchronized" @@ -188,6 +186,14 @@ ] @keyword [ +"return" +] @keyword.return + +[ +"yield" +] @keyword.yield + +[ "new" ] @keyword.operator |
