diff options
| author | nvim-treesitter-bot[bot] <157957100+nvim-treesitter-bot[bot]@users.noreply.github.com> | 2024-11-19 06:45:59 +0000 |
|---|---|---|
| committer | nvim-treesitter-bot[bot] <157957100+nvim-treesitter-bot[bot]@users.noreply.github.com> | 2024-11-19 07:58:31 +0000 |
| commit | c50981479e4271ec87c5a15ec991472bdec4f1b8 (patch) | |
| tree | ec24d9aaba211acda93ce62ae2cb045e06971611 /queries | |
| parent | feat(gdscript): add new export annotations (diff) | |
| download | nvim-treesitter-c50981479e4271ec87c5a15ec991472bdec4f1b8.tar nvim-treesitter-c50981479e4271ec87c5a15ec991472bdec4f1b8.tar.gz nvim-treesitter-c50981479e4271ec87c5a15ec991472bdec4f1b8.tar.bz2 nvim-treesitter-c50981479e4271ec87c5a15ec991472bdec4f1b8.tar.lz nvim-treesitter-c50981479e4271ec87c5a15ec991472bdec4f1b8.tar.xz nvim-treesitter-c50981479e4271ec87c5a15ec991472bdec4f1b8.tar.zst nvim-treesitter-c50981479e4271ec87c5a15ec991472bdec4f1b8.zip | |
bot(lockfile): update desktop, editorconfig, just, nu, v, xresources
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/nu/highlights.scm | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/queries/nu/highlights.scm b/queries/nu/highlights.scm index 3d30d4c29..62ab3bd0a 100644 --- a/queries/nu/highlights.scm +++ b/queries/nu/highlights.scm @@ -200,13 +200,13 @@ file_path: (val_string) @variable.parameter (long_flag "--" @punctuation.delimiter) -(long_flag_equals_value - "--" @punctuation.delimiter) +(long_flag + "=" @punctuation.delimiter) (short_flag "-" @punctuation.delimiter) -(long_flag_equals_value +(short_flag "=" @punctuation.delimiter) (param_short_flag @@ -234,6 +234,9 @@ file_path: (val_string) @variable.parameter "}" "[" "]" + "...[" + "...(" + "...{" ] @punctuation.bracket (parameter_pipes @@ -313,7 +316,8 @@ key: (identifier) @property (identifier) @variable) (val_variable - "$" @punctuation.special + "$"? @punctuation.special + "...$"? @punctuation.special [ (identifier) @variable "in" @variable.parameter.builtin |
