Magic incantations for Tailwind autocomplete in Svelte, Elixir ~H, Heex

This commit is contained in:
Julia 2023-10-19 01:54:42 -04:00
parent adabf0107f
commit 36731ba6b3
7 changed files with 40 additions and 8 deletions

View file

@ -12,7 +12,8 @@ brackets = [
{ start = "`", end = "`", close = true, newline = false, not_in = ["string"] },
{ start = "/*", end = " */", close = true, newline = false, not_in = ["string", "comment"] },
]
scope_opt_in_language_servers = ["tailwindcss-language-server"]
[overrides.element]
line_comment = { remove = true }
block_comment = ["{/* ", " */}"]
[overrides.string]
word_characters = ["-"]
opt_into_language_servers = ["tailwindcss-language-server"]

View file

@ -0,0 +1,7 @@
(comment) @comment
[
(raw_text)
(attribute_value)
(quoted_attribute_value)
] @string