]> git.eshelyaron.com Git - emacs.git/commit
Eglot: another tweak to eglot--sig-info
authorJoão Távora <joaotavora@gmail.com>
Sun, 2 Jul 2023 10:57:15 +0000 (11:57 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sun, 2 Jul 2023 10:58:04 +0000 (11:58 +0100)
commitc2e4c68333d72a342bb531449412a424b3507a65
tree57f4cb227f800bce090c24667ae3ab2db0d9f030
parent59a350cb911a1c488635d1eb447b07a509939125
Eglot: another tweak to eglot--sig-info

Going to the start of the first param and skipping non-word syntax
backward would seem to be the right thing to do, for traditional
C-style languages and also languages like Ocaml where function
signatures don't start the param list with '('.

See also https://github.com/joaotavora/eglot/discussions/1251.

* lisp/progmodes/eglot.el (eglot--sig-info): Rework again.
lisp/progmodes/eglot.el