Company-capf needs to be the first
This commit is contained in:
parent
69e992e54a
commit
36ac08f3fa
1 changed files with 8 additions and 2 deletions
|
@ -5,8 +5,6 @@
|
|||
:config
|
||||
(set-popup-rule! "^\\*Racket REPL" :size 10 :select t)
|
||||
(set-repl-handler! 'racket-mode #'+racket/repl)
|
||||
(set-company-backend! 'racket-mode
|
||||
'(company-abbrev company-dabbrev-code company-dabbrev company-files))
|
||||
(set-lookup-handlers! 'racket-mode
|
||||
:definition #'racket-describe
|
||||
:documentation #'racket-doc)
|
||||
|
@ -19,6 +17,14 @@
|
|||
:symbols '(("#true" "#false")))
|
||||
|
||||
(setq racket-smart-open-bracket-enable t)
|
||||
(when (featurep! :completion company)
|
||||
(setq-local company-backends
|
||||
'(company-capf
|
||||
company-abbrev
|
||||
company-dabbrev-code
|
||||
company-dabbrev
|
||||
company-files
|
||||
company-yasnippet)))
|
||||
|
||||
(add-hook! racket-mode
|
||||
#'(;; 3rd-party functionality
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue