Skip to content

Commit 24c75b0

Browse files
committed
Add support for GN
GN is a build system used by Chromium and some other projects: https://gn.googlesource.com/gn/ It uses # for comments: https://gn.googlesource.com/gn/+/main/docs/reference.md#white-space-and-comments
1 parent 6a27098 commit 24c75b0

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ See also [https://github.com/stkb/vscode-rewrap/releases](https://github.com/stk
22

33
---
44

5+
### Unreleased
6+
7+
- Add GN language (#342)
8+
59

610
### 1.16.3
711

core/Parsing.Documents.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ let mutable languages = [
133133
]
134134
)
135135
lang "Git commit" "git-commit" "tag_editmsg" <| docOf markdown
136+
lang "GN" "" ".gn|.gni" <| configFile
136137
lang "GraphQL" "" ".graphql|.gql" <| sc [line "#"; block (@".*?""""""", "\"\"\"")]
137138
lang "Groovy" "" ".groovy"
138139
java

0 commit comments

Comments
 (0)