Skip to content
Merged
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
Whitelist 4 new TextMate grammar fields
swallow, foregroundColor, and backgroundColor are older fields for TextMate 1.
  • Loading branch information
pchaigno authored Feb 17, 2018
commit b81c2296fe3a67eaa75b8676e244c43c4995fdb8
32 changes: 18 additions & 14 deletions tools/grammars/compiler/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,22 @@ var GrammarAliases = map[string]string{
}

var KnownFields = map[string]bool{
"comment": true,
"uuid": true,
"author": true,
"comments": true,
"macros": true,
"fileTypes": true,
"firstLineMatch": true,
"keyEquivalent": true,
"foldingStopMarker": true,
"foldingStartMarker": true,
"foldingEndMarker": true,
"limitLineLength": true,
"hideFromUser": true,
"injectionSelector": true,
"comment": true,
"uuid": true,
"author": true,
"comments": true,
"macros": true,
"fileTypes": true,
"firstLineMatch": true,
"keyEquivalent": true,
"foldingStopMarker": true,
"foldingStartMarker": true,
"foldingEndMarker": true,
"limitLineLength": true,
"hideFromUser": true,
"injectionSelector": true,
"swallow": true,
"foregroundColor": true,
"backgroundColor": true,
"increaseIndentPattern": true,
}