diff --git a/misc/fraise/go.plist b/misc/fraise/go.plist new file mode 100644 index 00000000000..298361501b4 --- /dev/null +++ b/misc/fraise/go.plist @@ -0,0 +1,93 @@ + + + + + beginCommand + + endCommand + + beginInstruction + + endInstruction + + beginVariable + + endVariable + + firstString + " + secondString + ' + firstSingleLineComment + // + secondSingleLineComment + + beginFirstMultiLineComment + /* + endFirstMultiLineComment + */ + beginSecondMultiLineComment + + endSecondMultiLineComment + + functionDefinition + ^func\s*.*\(.*\)\s?\{ + removeFromFunction + + keywordsCaseSensitive + + recolourKeywordIfAlreadyColoured + + keywords + + break + case + chan + const + continue + default + defer + else + fallthrough + for + func + go + goto + if + import + interface + map + package + range + return + select + struct + switch + type + var + bool + byte + chan + complex64 + complex128 + float + float32 + float64 + int + int8 + int16 + int32 + int64 + map + string + uint + uintptr + uint8 + uint16 + uint32 + uint64 + + autocompleteWords + + + diff --git a/misc/fraise/readme.txt b/misc/fraise/readme.txt new file mode 100644 index 00000000000..fb0f2c8c10e --- /dev/null +++ b/misc/fraise/readme.txt @@ -0,0 +1,16 @@ +##Instructions for enabling Go syntax highlighting in Fraise.app## +1. Move go.plist to /Applications/Fraise.app/Contents/Resources/Syntax\ Definitions/ +2. Open /Applications/Fraise.app/Contents/Resources/SyntaxDefinitions.plist and add + + + name + GoogleGo + file + go + extensions + go + + +before + +3. Restart Fraise and you're good to Go! \ No newline at end of file