From ec83e87680416ffa28d882481db9f2a5ec30d5f3 Mon Sep 17 00:00:00 2001 From: Erik Osheim Date: Thu, 25 Feb 2010 01:20:23 -0500 Subject: [PATCH] open .go files in go-mode --HG-- branch : pmacs2 --- mode/go.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mode/go.py b/mode/go.py index 8e3d9d2..c02dab3 100644 --- a/mode/go.py +++ b/mode/go.py @@ -91,6 +91,7 @@ hi_blue = ('blue225', 'default') class Go(Fundamental): name = 'Go' + extensions = ['.go'] grammar = GoGrammar opentokens = ('delimiter',) opentags = {'(': ')', '[': ']', '{': '}'} @@ -132,9 +133,9 @@ class Go(Fundamental): # 'go.make-cmd': "make", # 'go.make-rel-dir': True, #} - #lconfig = { - # 'ignore_suffix': ['.o'], - #} + lconfig = { + 'ignore_suffix': ['.5', '.6', '.8'], + } #_bindings = { # 'close-paren': (')',), # 'close-brace': ('}',),