我有这样一个函数,用于在 telega 中启动 corfu 进行补全,但是在 commit daab849b05ace651df195617303e152f928980f7 更新后,报错 corfu–auto-complete-deferred’: (wrong-type-argument arrayp nil),我不知道该如何修改,可以帮助我修改下这个函数么?
(defun +telega-completion-setup ()
(make-variable-buffer-local 'completion-at-point-functions)
(setq completion-at-point-functions
(append (mapcar #'cape-company-to-capf telega-company-backends)
completion-at-point-functions))
(corfu-mode 1))
当我输入三个 ` 进行代码块输入的时候,补全就会报错,应该是 telega-company-markdown-precode 这个。其他的后端好像没有报错。
全部的 telega company 后端如下
(defcustom telega-company-backends '(telega-company-emoji
telega-company-telegram-emoji
telega-company-username
telega-company-hashtag
telega-company-markdown-precode
telega-company-botcmd)
"Company backends to use in chat buffers.
Set to nil to disable company completions in chat buffers."
:package-version '(telega . "0.8.170")
:type '(repeat function)
:group 'telega-company)