atombender / sublime_text_alternative_autocompletion

Adds TextMate-like autocompletion to Sublime Text 2 and 3.
MIT License
147 stars 23 forks source link

Take into account custom word_separators property #3

Open kizu opened 13 years ago

kizu commented 13 years ago

Right now if you change the setting word_separators, for example, remove the gyphen ( -) from being a word separator, your plug-in would still count it as one: so there would no chance to compete som… to some-words-divided-by-gyphens.

And thanks anyway for your plug-in! I really liked the autocompletion in TextMate and it's great that I can still use in in Sublime Text.

atombender commented 13 years ago

On Wednesday, September 14, 2011 at 17:12 , Roman Komarov wrote:

Right now if you change the setting word_separators, for example, remove the gyphen ( -) from being a word separator, your plug-in would still count it as one: so there would no chance to compete som… to some-words-divided-by-gyphens.

Not sure if I can read Sublime's config from within the plugin, but I will look into it (possibly make the separators configurable).

Glad you like it.

kizu commented 13 years ago

Looks like you can read settings from the API

atombender commented 13 years ago

Excellent, thank you. I will try using that.