mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-05 08:27:19 -04:00
Remove what remains of filetype auto-detection
This commit is contained in:
@@ -5,10 +5,6 @@ package syntax
|
||||
func init() {
|
||||
syntaxMap["objc"] = &lazySyntax{init: func() []byte {
|
||||
return []byte(`filetype: objective-c
|
||||
|
||||
detect:
|
||||
filename: "\\.(m|mm|h)$"
|
||||
|
||||
rules:
|
||||
- type: "\\b(float|double|CGFloat|id|bool|BOOL|Boolean|char|int|short|long|sizeof|enum|void|static|const|struct|union|typedef|extern|(un)?signed|inline|Class|SEL|IMP|NS(U)?Integer)\\b"
|
||||
- type: "\\b((s?size)|((u_?)?int(8|16|32|64|ptr)))_t\\b"
|
||||
|
||||
Reference in New Issue
Block a user