mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Use set-company-backend!
Fixes incorrect usage of setq-local in a global context.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user