Use set-company-backend!
Fixes incorrect usage of setq-local in a global context.
This commit is contained in:
parent
2f7282af12
commit
f143a03221
1 changed files with 2 additions and 8 deletions
|
@ -5,6 +5,8 @@
|
|||
:config
|
||||
(set-popup-rule! "^\\*Racket REPL" :size 10 :select t)
|
||||
(set-repl-handler! 'racket-mode #'+racket/repl)
|
||||
(set-company-backend! 'racket-mode
|
||||
'(company-capf company-abbrev company-dabbrev-code company-dabbrev company-files company-yasnippet))
|
||||
(set-lookup-handlers! 'racket-mode
|
||||
:definition #'racket-describe
|
||||
:documentation #'racket-doc)
|
||||
|
@ -17,14 +19,6 @@
|
|||
: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