Minor reformatting & refactors across the board
This commit is contained in:
parent
03fa2eafee
commit
1274de3d34
9 changed files with 24 additions and 15 deletions
|
@ -81,8 +81,10 @@ Examples:
|
|||
;;;###autoload
|
||||
(defun +company-has-completion-p ()
|
||||
"Return non-nil if a completion candidate exists at point."
|
||||
(and (company-manual-begin)
|
||||
(= company-candidates-length 1)))
|
||||
(when company-mode
|
||||
(unless company-candidates-length
|
||||
(company-manual-begin))
|
||||
(= company-candidates-length 1)))
|
||||
|
||||
;;;###autoload
|
||||
(defun +company/toggle-auto-completion ()
|
||||
|
|
|
@ -73,6 +73,7 @@
|
|||
(after! eldoc
|
||||
(eldoc-add-command 'company-complete-selection
|
||||
'company-complete-common
|
||||
'company-capf
|
||||
'company-abort)))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue