-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
Is it possible to not sort company's candidates?
Jedi returns the normal objects first and then the magical ones instead company shows them in reverse.
I think is better to keep what jedi provides.
company

Config:
;; company
;; https://company-mode.github.io/
(use-package company
:delight
:defer 1
:bind
([remap indent-for-tab-command] . company-indent-or-complete-common)
([M-tab] . company-indent-or-complete-common)
("C-c y" . company-yasnippet)
(:map company-active-map
([tab] . company-complete-common-or-cycle)
([M-tab] . company-complete-common-or-cycle))
:config
(setq company-tooltip-align-annotations t
company-show-numbers t
company-minimum-prefix-length 2)
(company-tng-configure-default)
(global-company-mode)
(defun add-pcomplete-to-capf ()
(add-hook 'completion-at-point-functions 'pcomplete-completions-at-point nil t))
:hook (org-mode . add-pcomplete-to-capf))
;; anaconda-mode
;; https://github.com/proofit404/anaconda-mode
(use-package anaconda-mode
:delight
:hook
(python-mode)
(python-mode . anaconda-eldoc-mode))
;; company-anaconda
;; https://github.com/proofit404/company-anaconda
(use-package company-anaconda
:after (anaconda-mode company)
:config (add-to-list 'company-backends '(company-anaconda :with company-capf)))
