-
-
Notifications
You must be signed in to change notification settings - Fork 961
Description
I can't use lsp completion. Whenever I type something, it says something like,
Company: An error occurred in auto-begin Company: backend company-capf error "Symbol’s function definition is void: nil" with args (candidates grid-template-colum )
I'm using html-ls.
M-x company-diag returns:
`Emacs 30.2 (x8664-unknown-linux-gnu) of 2026-01-26 on nil
Company 20260108.36
company-backends: (company-capf (company-web-html company-css company-files)
company-dabbrev-code)
Used backend: company-capf
Value of c-a-p-f: (lsp-completion-at-point tags-completion-at-point-function)
Major mode: web-mode
Prefix: ("grid-template-colum" "" nil)
Completions: none(error fetching)`
Debugger backtrace:
Debugger entered--Lisp error: (void-function nil) nil() #f(compiled-function (probe pred action) #<bytecode 0x18d39c85d4ca2add>)("" nil t) all-completions("" #f(compiled-function (probe pred action) #<bytecode 0x18d39c85d4ca2add>) nil) lsp-completion-passthrough-all-completions("grid-template-column" #f(compiled-function (probe pred action) #<bytecode 0x18d39c85d4ca2add>) nil 20) #f(compiled-function (style) #<bytecode 0xe248500e529e090>)(lsp-passthrough) #f(compiled-function (elt) #<bytecode 0x11482cf101916f2b>)(lsp-passthrough) mapc(#f(compiled-function (elt) #<bytecode 0x11482cf101916f2b>) (lsp-passthrough orderless basic)) seq-do(#f(compiled-function (elt) #<bytecode 0x11482cf101916f2b>) (lsp-passthrough orderless basic)) seq-some(#f(compiled-function (style) #<bytecode 0xe248500e529e090>) (lsp-passthrough orderless basic)) completion--nth-completion(2 "grid-template-column" #f(compiled-function (probe pred action) #<bytecode 0x18d39c85d4ca2add>) nil 20 (metadata (category . lsp-capf) (display-sort-function . identity) (cycle-sort-function . identity))) #<subr completion-all-completions>("grid-template-column" #f(compiled-function (probe pred action) #<bytecode 0x18d39c85d4ca2add>) nil 20 (metadata (category . lsp-capf) (display-sort-function . identity) (cycle-sort-function . identity))) apply(#<subr completion-all-completions> ("grid-template-column" #f(compiled-function (probe pred action) #<bytecode 0x18d39c85d4ca2add>) nil 20 (metadata (category . lsp-capf) (display-sort-function . identity) (cycle-sort-function . identity)))) completion-all-completions("grid-template-column" #f(compiled-function (probe pred action) #<bytecode 0x18d39c85d4ca2add>) nil 20 (metadata (category . lsp-capf) (display-sort-function . identity) (cycle-sort-function . identity))) company--capf-completions("grid-template-column" "" #f(compiled-function (probe pred action) #<bytecode 0x18d39c85d4ca2add>) nil (metadata (category . lsp-capf) (display-sort-function . identity) (cycle-sort-function . identity))) company-capf--candidates-1("grid-template-column" "" #f(compiled-function (probe pred action) #<bytecode 0x18d39c85d4ca2add>) nil (metadata (category . lsp-capf) (display-sort-function . identity) (cycle-sort-function . identity)) nil) company-capf--candidates("grid-template-column" "") company-capf(candidates "grid-template-column" "") apply(company-capf (candidates "grid-template-column" "")) company-call-backend-raw(candidates "grid-template-column" "") company--fetch-candidates("grid-template-column" "") company-calculate-candidates("grid-template-column" nil "") company--begin-new() company--perform() company-auto-begin() company-idle-begin(#<buffer index.html> #<window 10 on index.html> 444 350) apply(company-idle-begin (#<buffer index.html> #<window 10 on index.html> 444 350)) timer-event-handler([t 26998 43334 660497 nil company-idle-begin (#<buffer index.html> #<window 10 on index.html> 444 350) nil 605000 nil])