You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
May be this issue related to ccls or #2080 bug.
I'm using latest lsp-mode, company and ccls packages from MELPA. Emacs 27.1.
Describe the bug
Completion doesn't work properly if C source files contain some Unicode symbols in comments.
To Reproduce
Create a file a.h:
/*
µ
*/
int Capability(int a, int *b);
and main.c:
#include "a.h"
int main()
{
}
Type "capa" in main(). Lsp-mode reports:
Warning (lsp-mode): Failed to parse the following chunk:
’’’
Content-Length: 355
{"jsonrpc":"2.0","id":16,"result":{"isIncomplete":false,"items":[{"label":"Capability(int a, int *b) -> int","kind":3,"detail":"","documentation":"�","sortText":" !","filterText":"Capability","insertTextFormat":2,"textEdit":{"range":{"start":{"line":4,"character":4},"end":{"line":4,"character":7}},"newText":"Capability(${1:int a}, ${2:int *b})$0"}}]}}
’’’
with message (json-parse-error unable to decode byte 0xb5 near '"' <string> 1 147 147)
Hi!
May be this issue related to ccls or #2080 bug.
I'm using latest
lsp-mode
,company
andccls
packages from MELPA. Emacs 27.1.Describe the bug
Completion doesn't work properly if C source files contain some Unicode symbols in comments.
To Reproduce
Create a file a.h:
and main.c:
Type "capa" in main(). Lsp-mode reports:
Which Language Server did you use
ccls
OS
Arch Linux
Error callstack
This.
The text was updated successfully, but these errors were encountered: