kikocis/company-english-helper public
Changesets · Branches · Tags · Compare
| Changeset | 663c85feb020917c870afd8adcc57f00230c601cf3a6eaa222a699ffc1ce98ec |
|---|---|
| Author | EvanMeek <the_lty_mail@foxmail.com> · 2020-03-26 15:39 +08:00 |
| Committer | EvanMeek <the_lty_mail@foxmail.com> · 2020-03-26 15:39 +08:00 |
| Parents | 902506f12709 |
1 file changed
modified company-english-helper.el +3 −2
| @@ -216,9 +216,10 @@ | ||
| 216 | 216 | ;; I need remove `company-english-helper-search' with `company-yasnippet', |
| 217 | 217 | ;; it's not enough just remove `company-english-helper-search' from `company-backends' |
| 218 | 218 | (setq company-backends (remove '(company-english-helper-search :with company-yasnippet) company-backends)) |
| 219 | - (message "English helper has disable.")) | |
| 220 | 219 | (setq company-english-helper-active-p nil) |
| 221 | - (company-mode t) | |
| 220 | + (message "English helper has disable.")) | |
| 221 | + (if (not company-mode) | |
| 222 | + (company-mode t)) | |
| 222 | 223 | (add-to-list 'company-backends 'company-english-helper-search) |
| 223 | 224 | (setq company-english-helper-active-p t) |
| 224 | 225 | (message "English helper has enable."))) |