mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 02:10:15 -04:00
feat(format-scripts): linewrap predicates
"format-ignore".kick()
This commit is contained in:
parent
a29058fe8b
commit
31641d72a4
57 changed files with 1622 additions and 1537 deletions
|
|
@ -38,7 +38,9 @@
|
|||
|
||||
((call_expression
|
||||
function: (identifier) @function.builtin)
|
||||
(#any-of? @function.builtin "print" "printd" "printdln" "printf" "println" "sprint" "sprintd" "sprintdln" "sprintf" "sprintln"))
|
||||
(#any-of? @function.builtin
|
||||
"print" "printd" "printdln" "printf" "println" "sprint" "sprintd" "sprintdln" "sprintf"
|
||||
"sprintln"))
|
||||
|
||||
((identifier) @variable.builtin
|
||||
(#lua-match? @variable.builtin "^\$+[0-9A-Z_a-z]+\$*$"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue