Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.

Commit 0cb3a87

Browse files
committed
- Reverts patch for issue #14
- Should resolve issue #45 I can't quite remember the full reason for adding this hack in place but it seems to be causing more issues that fixes so reverting.
1 parent 72e0bf3 commit 0cb3a87

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

‎AngularJS-sublime-package.py

+1-11
Original file line numberDiff line numberDiff line change
@@ -320,19 +320,9 @@ def filter_completions(self):
320320
return []
321321

322322
def js_completions(self):
323-
# ugly hack to fix ST bug
324-
# https://github.com/angular-ui/AngularJS-sublime-package/issues/14
325-
current_word_separators = r'./\\()\"\'-:,.;<>~!@#%^&*|+=[]{}`~?'
326-
def st_hack():
327-
self.active_view().settings().set('word_separators', current_word_separators)
328-
329323
if self.settings.get('disable_default_js_completions'): return []
330324
else:
331-
# ugly hack to fix ST bug
332-
self.active_view().settings().set('word_separators', "/\()\"'-:,;<>~!@#%^&*|+=[]{}`~?")
333-
completions = [tuple(completion) for completion in list(self.settings_js_completions.get('js_completions', []))]
334-
sublime.set_timeout(st_hack, 300)
335-
return completions
325+
return [tuple(completion) for completion in list(self.settings_js_completions.get('js_completions', []))]
336326

337327
def add_indexed_directives(self):
338328
if self.settings.get('disable_indexed_directive_completions'): return []

0 commit comments

Comments
 (0)