mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Revert "Comment: use @combined to create just one tree per buffer (#1252)"
This reverts commit 4a7a713c52.
This commit is contained in:
parent
83f7739071
commit
67f0857015
42 changed files with 41 additions and 46 deletions
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
(preproc_arg) @c
|
||||
|
||||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
(preproc_arg) @cpp
|
||||
|
||||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
(comment) @jsdoc @combined
|
||||
(comment) @comment @combined
|
||||
(comment) @jsdoc
|
||||
(comment) @comment
|
||||
|
||||
((regex_pattern) @regex)
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -9,4 +9,4 @@
|
|||
((script_element
|
||||
(raw_text) @javascript))
|
||||
|
||||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
((triple_string) @markdown
|
||||
(#offset! @markdown 0 3 0 -3))
|
||||
|
||||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -9,4 +9,4 @@
|
|||
(#eq? @_cdef_identifier "cdef")
|
||||
)
|
||||
|
||||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
(ocaml) @ocaml
|
||||
|
||||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
(text) @html
|
||||
|
||||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -23,4 +23,4 @@
|
|||
(((expression_statement (assignment)) . (expression_statement (string) @rst))
|
||||
(#offset! @rst 0 3 0 -3))
|
||||
|
||||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@
|
|||
(line_comment)
|
||||
(block_comment)
|
||||
(qldoc)
|
||||
] @comment @combined
|
||||
] @comment
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@
|
|||
parameters: (parameters (string) @regex))
|
||||
(#match? @_name "^#?(not-)?(match|vim-match|lua-match)$"))
|
||||
|
||||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -59,4 +59,4 @@
|
|||
(role) @_role)
|
||||
(#eq? @_role ":math:"))
|
||||
|
||||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -9,4 +9,4 @@
|
|||
[
|
||||
(line_comment)
|
||||
(block_comment)
|
||||
] @comment @combined
|
||||
] @comment
|
||||
|
|
|
|||
|
|
@ -37,5 +37,3 @@
|
|||
] @punctuation.bracket
|
||||
|
||||
(include_statement (identifier) @function)
|
||||
|
||||
(single_line_comment) @comment
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
; inherits: css
|
||||
|
||||
(single_line_comment) @comment @combined
|
||||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[
|
||||
(line_comment)
|
||||
(block_comment)
|
||||
] @comment @combined
|
||||
] @comment
|
||||
|
|
|
|||
|
|
@ -29,4 +29,4 @@
|
|||
(#match? @_lang "(ts|typescript)")
|
||||
)
|
||||
|
||||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -9,4 +9,4 @@
|
|||
(#eq? @_cdef_identifier "cdef")
|
||||
)
|
||||
|
||||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -29,4 +29,4 @@
|
|||
(quoted_attribute_value
|
||||
(attribute_value) @javascript)))
|
||||
|
||||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(comment) @comment @combined
|
||||
(comment) @comment
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
(line_comment) @comment @combined
|
||||
(line_comment) @comment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue