Skip to content

Commit

Permalink
feat: Add language support for TOML (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
icorbrey authored Oct 25, 2024
1 parent ecd0607 commit 42a5853
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions colors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ cyan-500: #02c7be

blue-500: #027aff

purple-300: #c076e5
purple-500: #b051de

pink-500: #ff2e55
10 changes: 10 additions & 0 deletions demos/.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[section]
key = "value"
number = 123
object = { key = "value" }
array = ["one", "two", "three"]

# This is a comment

[section.subsection]
property = "value"
28 changes: 28 additions & 0 deletions themes/Clarity Noir-color-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,34 @@
"settings": {
"foreground": "#686868"
}
},
{
"name": "[TOML] Properties > Assignment",
"scope": "punctuation.eq.toml",
"settings": {
"foreground": "#686868"
}
},
{
"name": "[TOML] Tables > Inline > Punctuation",
"scope": "punctuation.definition.table.inline.toml",
"settings": {
"foreground": "#8C8C8C"
}
},
{
"name": "[TOML] Tables > Name",
"scope": "support.type.property-name.table.toml",
"settings": {
"foreground": "#c076e5"
}
},
{
"name": "[TOML] Tables > Name > Punctuation",
"scope": "punctuation.separator.dot.toml",
"settings": {
"foreground": "#8C8C8C"
}
}
]
}

0 comments on commit 42a5853

Please sign in to comment.