aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblindfs <blindfs19@gmail.com>2025-10-06 21:24:58 +0800
committerChristian Clason <ch.clason+github@icloud.com>2025-10-06 16:31:28 +0200
commit0594d1ba65ddd6fc73411afb78f09ffc912f37b3 (patch)
tree4a823fff3c19a2a088453042512dd35136a24291
parentfeat(angular)!: update parser and queries (diff)
downloadnvim-treesitter-0594d1ba65ddd6fc73411afb78f09ffc912f37b3.tar
nvim-treesitter-0594d1ba65ddd6fc73411afb78f09ffc912f37b3.tar.gz
nvim-treesitter-0594d1ba65ddd6fc73411afb78f09ffc912f37b3.tar.bz2
nvim-treesitter-0594d1ba65ddd6fc73411afb78f09ffc912f37b3.tar.lz
nvim-treesitter-0594d1ba65ddd6fc73411afb78f09ffc912f37b3.tar.xz
nvim-treesitter-0594d1ba65ddd6fc73411afb78f09ffc912f37b3.tar.zst
nvim-treesitter-0594d1ba65ddd6fc73411afb78f09ffc912f37b3.zip
feat(nu)!: update parser and queries
-rw-r--r--lua/nvim-treesitter/parsers.lua2
-rw-r--r--runtime/queries/nu/highlights.scm4
2 files changed, 3 insertions, 3 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua
index 8245bf553..72d607836 100644
--- a/lua/nvim-treesitter/parsers.lua
+++ b/lua/nvim-treesitter/parsers.lua
@@ -1486,7 +1486,7 @@ return {
},
nu = {
install_info = {
- revision = '0e6c59c46db3c246eaf86ce5b325da1247e971a5',
+ revision = 'e1509fc9f9aa6579430a65f167528617df56b107',
url = 'https://github.com/nushell/tree-sitter-nu',
},
maintainers = { '@abhisheksingh0x558' },
diff --git a/runtime/queries/nu/highlights.scm b/runtime/queries/nu/highlights.scm
index 38ffbaa2e..e23a30fae 100644
--- a/runtime/queries/nu/highlights.scm
+++ b/runtime/queries/nu/highlights.scm
@@ -203,7 +203,7 @@ file_path: (val_string) @variable.parameter
(param_value
"=" @punctuation.delimiter)
-(param_cmd
+(param_completer
"@" @punctuation.delimiter)
(param_opt
@@ -240,7 +240,7 @@ key: (identifier) @property
(parameter
param_name: (_) @variable.parameter)
-(param_cmd
+(param_completer
(cmd_identifier) @string)
(attribute