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

Commit b732e39

Browse files
committed
hard code word_separators
- The current fix would, at times, leave the view in a modified state where the period was not considered a word separator - related to issue #14
1 parent 313b24c commit b732e39

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎AngularJS-sublime-package.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,9 @@ def filter_completions(self):
306306
return []
307307

308308
def js_completions(self):
309-
current_word_separators = ng.active_view().settings().get('word_separators')
309+
# ugly hack to fix ST bug
310+
# https://github.com/angular-ui/AngularJS-sublime-package/issues/14
311+
current_word_separators = r'./\\()\"\'-:,.;<>~!@#%^&*|+=[]{}`~?'
310312
def st_hack():
311313
ng.active_view().settings().set('word_separators', current_word_separators)
312314

0 commit comments

Comments
 (0)