Skip to content
Browse files

Removed snippet_replace, #54

  • Loading branch information...
1 parent 274c963 commit 746074bc1e70f6151dd5eae0ba9568fd38721104 @mvoidex mvoidex committed Apr 9, 2013
Showing with 1 addition and 13 deletions.
  1. +0 −3 SublimeHaskell.sublime-settings
  2. +1 −10 symbols.py
View
3 SublimeHaskell.sublime-settings
@@ -68,9 +68,6 @@
// Inhibit default Sublime word completions
"inhibit_completions": false,
- // Replace data and class with snippet
- "snippet_replace": false,
-
// Auto autocompletion popup on '.' in import list
"auto_completion_popup": false,
View
11 symbols.py
@@ -149,17 +149,8 @@ def __init__(self, name, decl_type, context, args, definition = None, docs = Non
self.args = args
self.definition = definition
- def snippet(self):
- result = [self.name]
- i = 1
- for arg in self.args:
- result.append(u"${" + str(i) + u":" + arg + u"}")
- i += 1
-
- return u' '.join(result)
-
def suggest(self):
- return (u'{0}\t{1}'.format(self.name, ' '.join(self.args)), self.snippet())
+ return (u'{0}\t{1}'.format(self.name, ' '.join(self.args)), self.name)
def brief(self):
brief_parts = [self.what]

0 comments on commit 746074b

Please sign in to comment.
Something went wrong with that request. Please try again.