atom / language-clojure

Clojure package for Atom
Other
49 stars 48 forks source link

Recognize hyphens as part of words for autocomplete, but not cursor movement #76

Closed nathansobo closed 6 years ago

nathansobo commented 6 years ago

🍐 'd with @maxbrunsfeld

Previously, we removed - to the editor.nonWordCharacters setting to allow words containing dashes to continue to be completed following https://github.com/atom/autocomplete-plus/pull/886. However, this changed cursor movement behavior. This PR reverts that change and adds - to autocomplete.extraWordCharacters to achieve the same effect. Depends on https://github.com/atom/autocomplete-plus/pull/944.