My stack is the following:
- i use eglot as an lsp client
- i use company-mode for completion
- i use pascal-language-server which i packaged myself, so this could be the issue
I got the same stack working using the nil language server for nix. However, using the pascal language server, i only get this message in the echo line:
Company: backend company-capf error "Wrong type argument: sequencep, t" with args (canditates Arbe)
(where "Arbe" is the beginning of the function name it is trying to complete)
So, i think something is either wrong with my package of the pascal language server, or with the pascal language server itself, but i have no idea how to troubleshoot it.
This is the additional eglot configuration:
(add-to-list 'eglot-server-programs '(pascal-mode . "/path/to/my/pasls")))