remove invalid string quote
This commit is contained in:
parent
8b2a240f22
commit
3c622036f6
2 changed files with 2 additions and 3 deletions
|
@ -285,8 +285,7 @@ module.exports = grammar({
|
||||||
string: ($) =>
|
string: ($) =>
|
||||||
choice(
|
choice(
|
||||||
seq("'", repeat(token.immediate(/[^'\n]+/)), "'"),
|
seq("'", repeat(token.immediate(/[^'\n]+/)), "'"),
|
||||||
seq('"', repeat(token.immediate(/[^"\n]+/)), '"'),
|
seq('"', repeat(token.immediate(/[^"\n]+/)), '"')
|
||||||
seq("`", repeat(token.immediate(/[^`\n]+/)), "`")
|
|
||||||
),
|
),
|
||||||
|
|
||||||
boolean: ($) => choice("true", "false"),
|
boolean: ($) => choice("true", "false"),
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
"`|"
|
"`|"
|
||||||
] @punctuation.bracket
|
] @punctuation.bracket
|
||||||
|
|
||||||
; Special (nvim-treesitter overwrite previous rules)
|
; Special
|
||||||
;-------------------------------------------------------------------------------
|
;-------------------------------------------------------------------------------
|
||||||
|
|
||||||
(ERROR) @error
|
(ERROR) @error
|
||||||
|
|
Loading…
Reference in a new issue