Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
a269cdae
Commit
a269cdae
authored
Nov 17, 2009
by
Evan Shaw
Committed by
Russ Cox
Nov 17, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Kate syntax highlighting file.
R=rsc
https://golang.org/cl/155075
parent
5a99927d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
129 additions
and
0 deletions
+129
-0
misc/kate/go.xml
misc/kate/go.xml
+129
-0
No files found.
misc/kate/go.xml
0 → 100644
View file @
a269cdae
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language
name=
"Go"
section=
"Sources"
version=
"1.00"
kateversion=
"2.4"
indenter=
"cstyle"
extensions=
"*.go"
mimetype=
""
priority=
"5"
author=
"The Go Authors"
license=
"BSD"
>
<highlighting>
<list
name=
"keywords"
>
<item>
break
</item>
<item>
case
</item>
<item>
const
</item>
<item>
continue
</item>
<item>
default
</item>
<item>
defer
</item>
<item>
else
</item>
<item>
fallthrough
</item>
<item>
false
</item>
<item>
for
</item>
<item>
func
</item>
<item>
go
</item>
<item>
goto
</item>
<item>
if
</item>
<item>
import
</item>
<item>
interface
</item>
<item>
iota
</item>
<item>
nil
</item>
<item>
package
</item>
<item>
range
</item>
<item>
return
</item>
<item>
select
</item>
<item>
struct
</item>
<item>
switch
</item>
<item>
true
</item>
<item>
type
</item>
<item>
var
</item>
</list>
<list
name=
"types"
>
<item>
bool
</item>
<item>
byte
</item>
<item>
chan
</item>
<item>
float
</item>
<item>
float32
</item>
<item>
float64
</item>
<item>
int
</item>
<item>
int8
</item>
<item>
int16
</item>
<item>
int32
</item>
<item>
int64
</item>
<item>
map
</item>
<item>
string
</item>
<item>
uint
</item>
<item>
uintptr
</item>
<item>
uint8
</item>
<item>
uint16
</item>
<item>
uint32
</item>
<item>
uint64
</item>
</list>
<list
name=
"functions"
>
<item>
cap
</item>
<item>
close
</item>
<item>
closed
</item>
<item>
convert
</item>
<item>
len
</item>
<item>
make
</item>
<item>
new
</item>
<item>
panic
</item>
<item>
panicln
</item>
<item>
print
</item>
<item>
println
</item>
</list>
<contexts>
<context
attribute=
"Normal Text"
lineEndContext=
"#stay"
name=
"Normal"
>
<DetectSpaces
/>
<keyword
attribute=
"Keyword"
context=
"#stay"
String=
"keywords"
/>
<keyword
attribute=
"Data Type"
context=
"#stay"
String=
"types"
/>
<DetectIdentifier
/>
<DetectChar
attribute=
"Symbol"
context=
"#stay"
char=
"{"
beginRegion=
"Brace1"
/>
<DetectChar
attribute=
"Symbol"
context=
"#stay"
char=
"}"
endRegion=
"Brace1"
/>
<HlCOct
attribute=
"Octal"
context=
"#stay"
/>
<HlCHex
attribute=
"Hex"
context=
"#stay"
/>
<HlCChar
attribute=
"Char"
context=
"#stay"
/>
<DetectChar
attribute=
"String"
context=
"String"
char=
"""
/>
<Detect2Chars
attribute=
"Comment"
context=
"Commentar 1"
char=
"/"
char1=
"/"
/>
<Detect2Chars
attribute=
"Comment"
context=
"Commentar 2"
char=
"/"
char1=
"*"
beginRegion=
"Comment"
/>
<AnyChar
attribute=
"Symbol"
context=
"#stay"
String=
":!%&()+,-/.*<=>?[]|~^;"
/>
</context>
<context
attribute=
"String"
lineEndContext=
"#pop"
name=
"String"
>
<LineContinue
attribute=
"String"
context=
"#stay"
/>
<HlCStringChar
attribute=
"String Char"
context=
"#stay"
/>
<DetectChar
attribute=
"String"
context=
"#pop"
char=
"""
/>
</context>
<context
attribute=
"Comment"
lineEndContext=
"#pop"
name=
"Commentar 1"
>
<LineContinue
attribute=
"Comment"
context=
"#stay"
/>
</context>
<context
attribute=
"Comment"
lineEndContext=
"#stay"
name=
"Commentar 2"
>
<Detect2Chars
attribute=
"Comment"
context=
"#pop"
char=
"*"
char1=
"/"
endRegion=
"Comment"
/>
</context>
</contexts>
<itemDatas>
<itemData
name=
"Normal Text"
defStyleNum=
"dsNormal"
spellChecking=
"false"
/>
<itemData
name=
"Keyword"
defStyleNum=
"dsKeyword"
spellChecking=
"false"
/>
<itemData
name=
"Data Type"
defStyleNum=
"dsDataType"
spellChecking=
"false"
/>
<itemData
name=
"Decimal"
defStyleNum=
"dsDecVal"
spellChecking=
"false"
/>
<itemData
name=
"Octal"
defStyleNum=
"dsBaseN"
spellChecking=
"false"
/>
<itemData
name=
"Hex"
defStyleNum=
"dsBaseN"
spellChecking=
"false"
/>
<itemData
name=
"Float"
defStyleNum=
"dsFloat"
spellChecking=
"false"
/>
<itemData
name=
"Char"
defStyleNum=
"dsChar"
spellChecking=
"false"
/>
<itemData
name=
"String"
defStyleNum=
"dsString"
/>
<itemData
name=
"String Char"
defStyleNum=
"dsChar"
/>
<itemData
name=
"Comment"
defStyleNum=
"dsComment"
/>
<itemData
name=
"Symbol"
defStyleNum=
"dsNormal"
spellChecking=
"false"
/>
<itemData
name=
"Error"
defStyleNum=
"dsError"
spellChecking=
"false"
/>
</itemDatas>
</highlighting>
<general>
<comments>
<comment
name=
"singleLine"
start=
"//"
/>
<comment
name=
"multiLine"
start=
"/*"
end=
"*/"
/>
</comments>
<keywords
casesensitive=
"1"
additionalDeliminator=
"'""
/>
</general>
</language>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment