diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2022-12-24 17:01:23 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-12-31 15:20:02 +0100 |
| commit | 5afa9e50407c137c61082627a4456ab99cfbed18 (patch) | |
| tree | d6e9cfca8a88c698ec954ed8a7a44183573bd609 | |
| parent | parsers: add wgsl_bevy (diff) | |
| download | nvim-treesitter-5afa9e50407c137c61082627a4456ab99cfbed18.tar nvim-treesitter-5afa9e50407c137c61082627a4456ab99cfbed18.tar.gz nvim-treesitter-5afa9e50407c137c61082627a4456ab99cfbed18.tar.bz2 nvim-treesitter-5afa9e50407c137c61082627a4456ab99cfbed18.tar.lz nvim-treesitter-5afa9e50407c137c61082627a4456ab99cfbed18.tar.xz nvim-treesitter-5afa9e50407c137c61082627a4456ab99cfbed18.tar.zst nvim-treesitter-5afa9e50407c137c61082627a4456ab99cfbed18.zip | |
highlights(wgsl): highlight "->" for return types as `@punctuation.delimiter`
| -rw-r--r-- | queries/wgsl/highlights.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/wgsl/highlights.scm b/queries/wgsl/highlights.scm index c9ab0668f..0411880d7 100644 --- a/queries/wgsl/highlights.scm +++ b/queries/wgsl/highlights.scm @@ -50,7 +50,7 @@ "return" @keyword.return -[ "," "." ":" ";" ] @punctuation.delimiter +[ "," "." ":" ";" "->" ] @punctuation.delimiter ["(" ")" "[" "]" "{" "}"] @punctuation.bracket |
