* bug#59456: 29.0.50; eglot with ccls: completion inserts unwanted function signature
@ 2022-11-21 20:18 miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 0 replies; only message in thread
From: miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-11-21 20:18 UTC (permalink / raw)
To: 59456
[-- Attachment #1: Type: text/plain, Size: 513 bytes --]
Put this test.c file into an empty direcotry
int fun1 (char *a, int b) {
return b + 1;
}
int fun2 (char *a, int b) {
return b + 2;
}
Visit it with emacs -q and do
M-: (setq completion-cycle-threshold 3)
M-x eglot RET ccls RET
At the end of the file type
int main () { fu
and press M-TAB. "fu" completes into "fun1(char *a, int b) -> int".
Note that this isn't reproducible with clangd, so this could possibly be
a ccls bug.
clang version: 14.0.6
ccls version: 0.20220729-1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-21 20:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-21 20:18 bug#59456: 29.0.50; eglot with ccls: completion inserts unwanted function signature miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).