mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-18 16:08:55 +00:00
Rainbow brackets get per-kind switches (round, square, curly, and angle brackets and tags) and a palette length of 2–5 colours; defaults are unchanged. Angle brackets are coloured only inside syntax nodes a language definition names under [rainbow-brackets] (type argument/parameter lists for TypeScript/TSX, Java, Rust and C++; tags for HTML, XML, Vue, Svelte and JSX), so comparisons and shifts stay uncoloured. A kind switched off keeps the other brackets' depths. Colour schemes gain --syn-bracket-4/5; indent guides and sticky lines follow the palette length. Closes #3769 Co-authored-by: bertyhell <1710840+bertyhell@users.noreply.github.com>
19 lines
843 B
TOML
19 lines
843 B
TOML
id = "xml"
|
||
name = "XML"
|
||
extensions = ["xml", "xsd", "xsl", "xslt", "svg", "plist", "csproj", "fsproj", "vbproj", "props", "targets", "nuspec", "xaml", "axaml", "resx", "wsdl", "fxml", "iml", "jnlp", "rss", "atom", "xliff", "xlf", "storyboard", "xib", "tld", "pom"]
|
||
filenames = ["NuGet.Config", "Directory.Build.targets", "web.config", "app.config"]
|
||
first-line = "^<\\?xml\\b"
|
||
block-comment = ["<!--", "-->"]
|
||
indent = { tab-size = 2, insert-spaces = true }
|
||
ui-mode = "XML"
|
||
tree-sitter = "xml"
|
||
|
||
# Rainbow brackets › angle: editor syntax nodes of markup tags, whose `<` `>` pair up.
|
||
[rainbow-brackets]
|
||
tags = ["OpenTag", "CloseTag", "SelfClosingTag"]
|
||
|
||
[[language-servers]]
|
||
name = "lemminx"
|
||
command = "lemminx"
|
||
install-hint = "Install Eclipse LemMinX (https://github.com/redhat-developer/vscode-xml/releases) and put the lemminx binary on PATH"
|