company: remove evil-collection-company-use-tng flag
This commit is contained in:
parent
d97e0ff4af
commit
e6f25ebe48
|
@ -36,17 +36,6 @@
|
|||
"Evil bindings for `company-mode'."
|
||||
:group 'evil-collection)
|
||||
|
||||
(defcustom evil-collection-company-use-tng t
|
||||
"Enable company-tng through `company-tng-configure-default'.
|
||||
|
||||
This mirrors ycmd's behavior for a completion experience more
|
||||
similar to YouCompleteMe.
|
||||
|
||||
Note that for changes to take effect, this variable may have to
|
||||
be set through custom or before evil-collection loads."
|
||||
:group 'evil-collection-company
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom evil-collection-company-supported-states '(insert replace emacs)
|
||||
"The `evil-state's which `company' function can be requested."
|
||||
:type '(repeat symbol))
|
||||
|
@ -90,11 +79,6 @@ be set through custom or before evil-collection loads."
|
|||
(kbd "M-k") 'company-select-previous
|
||||
(kbd "<escape>") 'company-search-abort)
|
||||
|
||||
;; Sets up YCMD like behavior.
|
||||
(when evil-collection-company-use-tng
|
||||
(require 'company-tng)
|
||||
(company-tng-mode +1))
|
||||
|
||||
;; Make `company-mode' not show popup when not in supported state
|
||||
(advice-add 'company-call-backend
|
||||
:before-while 'evil-collection-company-supported-p))
|
||||
|
|
|
@ -94,7 +94,6 @@ more.
|
|||
|
||||
| Variable | Default | Description |
|
||||
|--------------------------------------------+---------+-------------------------------------------------------------------|
|
||||
| evil-collection-company-use-tng | t | Set up autocompletion to be similar to Vim's YouCompleteMe. |
|
||||
| evil-collection-calendar-want-org-bindings | nil | Set up Org functions in calendar keymap. |
|
||||
| evil-collection-outline-bind-tab-p | nil | Enable <tab>-based bindings in Outline mode. |
|
||||
| evil-collection-term-sync-state-and-mode-p | t | Synchronize insert/normal state with char/line-mode in term-mode. |
|
||||
|
|
Loading…
Reference in New Issue