open .go files in go-mode

--HG--
branch : pmacs2
This commit is contained in:
Erik Osheim 2010-02-25 01:20:23 -05:00
parent 8ab8c86bf4
commit ec83e87680
1 changed files with 4 additions and 3 deletions

View File

@ -91,6 +91,7 @@ hi_blue = ('blue225', 'default')
class Go(Fundamental): class Go(Fundamental):
name = 'Go' name = 'Go'
extensions = ['.go']
grammar = GoGrammar grammar = GoGrammar
opentokens = ('delimiter',) opentokens = ('delimiter',)
opentags = {'(': ')', '[': ']', '{': '}'} opentags = {'(': ')', '[': ']', '{': '}'}
@ -132,9 +133,9 @@ class Go(Fundamental):
# 'go.make-cmd': "make", # 'go.make-cmd': "make",
# 'go.make-rel-dir': True, # 'go.make-rel-dir': True,
#} #}
#lconfig = { lconfig = {
# 'ignore_suffix': ['.o'], 'ignore_suffix': ['.5', '.6', '.8'],
#} }
#_bindings = { #_bindings = {
# 'close-paren': (')',), # 'close-paren': (')',),
# 'close-brace': ('}',), # 'close-brace': ('}',),