mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 08:50:11 -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
|
|
@ -9,11 +9,15 @@
|
|||
|
||||
; https://www.gnu.org/software/gawk/manual/html_node/Auto_002dset.html
|
||||
((identifier) @constant.builtin
|
||||
(#any-of? @constant.builtin "ARGC" "ARGV" "ARGIND" "ENVIRON" "ERRNO" "FILENAME" "FNR" "NF" "FUNCTAB" "NR" "PROCINFO" "RLENGTH" "RSTART" "RT" "SYMTAB"))
|
||||
(#any-of? @constant.builtin
|
||||
"ARGC" "ARGV" "ARGIND" "ENVIRON" "ERRNO" "FILENAME" "FNR" "NF" "FUNCTAB" "NR" "PROCINFO"
|
||||
"RLENGTH" "RSTART" "RT" "SYMTAB"))
|
||||
|
||||
; https://www.gnu.org/software/gawk/manual/html_node/User_002dmodified.html
|
||||
((identifier) @variable.builtin
|
||||
(#any-of? @variable.builtin "BINMODE" "CONVFMT" "FIELDWIDTHS" "FPAT" "FS" "IGNORECASE" "LINT" "OFMT" "OFS" "ORS" "PREC" "ROUNDMODE" "RS" "SUBSEP" "TEXTDOMAIN"))
|
||||
(#any-of? @variable.builtin
|
||||
"BINMODE" "CONVFMT" "FIELDWIDTHS" "FPAT" "FS" "IGNORECASE" "LINT" "OFMT" "OFS" "ORS" "PREC"
|
||||
"ROUNDMODE" "RS" "SUBSEP" "TEXTDOMAIN"))
|
||||
|
||||
(number) @number
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue