mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 09:50:04 -04:00
fix: typos
This commit is contained in:
parent
3a7b5a9fb4
commit
9bc21966f2
7 changed files with 8 additions and 8 deletions
|
|
@ -17,7 +17,7 @@
|
|||
";"
|
||||
] @punctuation.delimiter
|
||||
|
||||
; Default general color defination
|
||||
; Default general color definition
|
||||
(identifier) @variable
|
||||
|
||||
(type_identifier) @type
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@
|
|||
|
||||
; NOTE: The following has been commented out due to issues with spaces in the
|
||||
; list marker nodes generated by the parser. If those spaces ever get captured
|
||||
; by a different node (e.g. block_continuation) we can safely readd these
|
||||
; by a different node (e.g. block_continuation) we can safely re-add these
|
||||
; conceals.
|
||||
; ;; Conceal bullet points
|
||||
; ([(list_marker_plus) (list_marker_star)]
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
(#eq? @_string_prefix "&"))
|
||||
|
||||
; sql in generalized_strings
|
||||
; and anyhting you like as long as the function name is the same as the injected language's parser
|
||||
; and anything you like as long as the function name is the same as the injected language's parser
|
||||
(generalized_string
|
||||
function: (identifier) @injection.language
|
||||
(string_content) @injection.content
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
(simple_type_name)
|
||||
] @type)
|
||||
|
||||
; Buitin constants and Keywords
|
||||
; Builtin constants and Keywords
|
||||
[
|
||||
"true"
|
||||
"false"
|
||||
|
|
|
|||
|
|
@ -8,5 +8,5 @@
|
|||
|
||||
((verbatim_string) @injection.content
|
||||
(#lua-match? @injection.content "@\"<!DOCTYPE html>")
|
||||
(#set! injection.languge "html")
|
||||
(#set! injection.language "html")
|
||||
(#offset! @injection.content 0 2 0 -1))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue