Skip to content

Commit

Permalink
define language of excalidraw and excalidrawlib extensions (#119)
Browse files Browse the repository at this point in the history
This sets the language ID of `.excalidraw` and `.excalidrawlib` files to
`json`. This replaces the configuration defaults, which resulted in a
write to user settings.
  • Loading branch information
remcohaszing authored Feb 6, 2024
1 parent c7f0126 commit aaeb6c3
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,15 @@
}
}
],
"configurationDefaults": {
"files.associations": {
"*.excalidraw": "json",
"*.excalidrawlib": "json"
"languages": [
{
"id": "json",
"extensions": [
".excalidraw",
".excalidrawlib"
]
}
},
],
"menus": {
"commandPalette": [
{
Expand Down

0 comments on commit aaeb6c3

Please sign in to comment.