summaryrefslogtreecommitdiff
path: root/misc/bbedit/Go.plist
blob: 1220d6efb464095983c1ca391c1e605ee2584f8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
{
	BBEditDocumentType = "CodelessLanguageModule";
	BBLMColorsSyntax = YES;
	BBLMIsCaseSensitive = YES;
	BBLMKeywordList = (
		append,
		bool,
		break,
		byte,
		cap,
		case,
		chan,
		close,
		complex,
		complex128,
		complex64,
		const,
		continue,
		copy,
		default,
		defer,
		delete,
		else,
		error,
		fallthrough,
		false,
		float32,
		float64,
		for,
		func,         
		go,
		goto,
		if,
		iota,
		imag,
		import,
		int,
		int16,
		int32,
		int64,
		int8,
		interface,
		len,
		make,
		map,
		new,
		nil,
		package,
		panic,
		print,
		println,
		range,
		real,
		recover,
		return,
		rune,
		select,
		string,
		struct,
		switch,
		true,
		type,
		uint,
		uint16,
		uint32,
		uint64,
		uint8,
		uintptr,
		var,
	);
	BBLMLanguageCode = go;
	"BBLMLanguageDisplayName" = "Go";
	BBLMScansFunctions = YES;
	BBLMSuffixMap = (
		{
			BBLMLanguageSuffix = ".go";
		},
	);
	"Language Features" = {
		"Close Block Comments" = "*/";
		"Close Parameter Lists" = ")";
		"Close Statement Blocks" = "}";
		"Close Strings 1" = "`";
		"Close Strings 2" = "\"";
		"End-of-line Ends Strings 1" = YES;
		"End-of-line Ends Strings 2" = YES;
		"Escape Char in Strings 1" = "\\";
		"Escape Char in Strings 2" = "\\";
		"Identifier and Keyword Characters" = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz";
		"Open Block Comments" = "/*";
		"Open Line Comments" = "//";
		"Open Parameter Lists" = "(";
		"Open Statement Blocks" = "{";
		"Open Strings 1" = "`";
		"Open Strings 2" = "\"";
		"Prefix for Functions" = "func";
		"Prefix for Procedures" = "func";
		"Terminator for Prototypes 1" = ";";
		"Terminator for Prototypes 2" = "";
	};
}