Files
linguist/tools/grammars/compiler/data.go
Paul Chaignon 4db659dede Whitelist hideFromUser key in grammars (#3989)
hideFromuser is an undocumented key from TextMate to hide some
grammars from the user.
2018-01-16 10:49:33 +01:00

31 lines
859 B
Go

package compiler
var GrammarAliases = map[string]string{
"source.erb": "text.html.erb",
"source.cpp": "source.c++",
"source.less": "source.css.less",
"text.html.markdown": "source.gfm",
"text.md": "source.gfm",
"source.php": "text.html.php",
"text.plain": "",
"source.asciidoc": "text.html.asciidoc",
"source.perl6": "source.perl6fe",
"source.css.scss": "source.scss",
}
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,
}