diff options
| author | Joakker <joaquinandresleon108@gmail.com> | 2021-06-24 14:45:31 -0400 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-06-25 00:22:48 +0200 |
| commit | c699cc2e47fe302e9f414356cceb20a309be5bc6 (patch) | |
| tree | 961806f7baf8cc44432ffc813c71c5304907cb16 /queries/julia | |
| parent | Update lockfile.json (diff) | |
| download | nvim-treesitter-c699cc2e47fe302e9f414356cceb20a309be5bc6.tar nvim-treesitter-c699cc2e47fe302e9f414356cceb20a309be5bc6.tar.gz nvim-treesitter-c699cc2e47fe302e9f414356cceb20a309be5bc6.tar.bz2 nvim-treesitter-c699cc2e47fe302e9f414356cceb20a309be5bc6.tar.lz nvim-treesitter-c699cc2e47fe302e9f414356cceb20a309be5bc6.tar.xz nvim-treesitter-c699cc2e47fe302e9f414356cceb20a309be5bc6.tar.zst nvim-treesitter-c699cc2e47fe302e9f414356cceb20a309be5bc6.zip | |
Use #any-of? instead of #match? where posible
Diffstat (limited to 'queries/julia')
| -rw-r--r-- | queries/julia/highlights.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/julia/highlights.scm b/queries/julia/highlights.scm index 1107eace9..a53dabe53 100644 --- a/queries/julia/highlights.scm +++ b/queries/julia/highlights.scm @@ -134,7 +134,7 @@ "type" ] @keyword -((identifier) @keyword (#match? @keyword "^(global|local)$")) +((identifier) @keyword (#any-of? @keyword "global" "local")) (compound_expression ["begin" "end"] @keyword) |
