Magic incantations for Tailwind autocomplete in Svelte, Elixir ~H, Heex
This commit is contained in:
parent
adabf0107f
commit
36731ba6b3
7 changed files with 40 additions and 8 deletions
|
@ -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"]
|
||||
|
|
7
crates/zed/src/languages/svelte/overrides.scm
Normal file
7
crates/zed/src/languages/svelte/overrides.scm
Normal file
|
@ -0,0 +1,7 @@
|
|||
(comment) @comment
|
||||
|
||||
[
|
||||
(raw_text)
|
||||
(attribute_value)
|
||||
(quoted_attribute_value)
|
||||
] @string
|
Loading…
Add table
Add a link
Reference in a new issue