27 lines · 1.1 KB · TOML
RawDownload
name = "JavaScript"grammar = "tsx"path_suffixes = ["js", "jsx", "mjs", "cjs"]first_line_pattern = '^#!.*\bnode\b'line_comments = ["// "]autoclose_before = ";:.,=}])>"brackets = [    { start = "{", end = "}", close = true, newline = true },    { start = "[", end = "]", close = true, newline = true },    { start = "(", end = ")", close = true, newline = true },    { start = "<", end = ">", close = false, newline = true, not_in = ["comment", "string"] },    { start = "\"", end = "\"", close = true, newline = false, not_in = ["comment", "string"] },    { start = "'", end = "'", close = true, newline = false, not_in = ["comment", "string"] },    { start = "`", end = "`", close = true, newline = false, not_in = ["comment", "string"] },    { start = "/*", end = " */", close = true, newline = false, not_in = ["comment", "string"] },]word_characters = ["$", "#"]scope_opt_in_language_servers = ["tailwindcss-language-server"]prettier_parser_name = "babel" [overrides.element]line_comments = { remove = true }block_comment = ["{/* ", " */}"] [overrides.string]word_characters = ["-"]opt_into_language_servers = ["tailwindcss-language-server"]