Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Unreleased

- No changes yet.
- Add file icons for Protobuf and Buf configuration files.

## 0.8.1

Expand Down
10 changes: 10 additions & 0 deletions icons/_buf_file.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions icons/_proto_file_dark_mode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions icons/_proto_file_light_mode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 14 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,18 @@
],
"languages": [
{
"id": "yaml",
"id": "buf",
"filenames": [
"buf.yaml",
"buf.gen.yaml",
"buf.lock",
"buf.mod",
"buf.work",
"buf.gen"
]
"buf.work"
],
"icon": {
"light": "./icons/_buf_file.svg",
"dark": "./icons/_buf_file.svg"
}
},
{
"id": "proto",
Expand All @@ -261,7 +266,11 @@
"Protocol Buffers",
"Protobuf"
],
"configuration": "./protobuf-language-configuration.json"
"configuration": "./protobuf-language-configuration.json",
"icon": {
"light": "./icons/_proto_file_light_mode.svg",
"dark": "./icons/_proto_file_dark_mode.svg"
}
},
{
"//": "This is a special language used by the 'declaration' part of hover inlays in Markdown.",
Expand Down
Loading