GNU bug report logs -
#61072
How to change the length of the separation lines in eldoc, used by eglot?
Previous Next
Reported by: Wei-Ting Lin <linwaytin <at> gmail.com>
Date: Thu, 26 Jan 2023 06:49:01 UTC
Severity: normal
Done: João Távora <joaotavora <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Sorry for the late reply. I think the following is the relevant part, when
the cursor is on function "get_GF_cont_nonint".
[server-reply] (id:1144) Sat Feb 18 10:03:45 2023:
(:id 1144 :jsonrpc "2.0" :result
(:contents
(:kind "markdown" :value "### instance-method `get_GF_cont_nonint`
\n\n---\n→ `double` \nParameters: \n- `double tau`\n- `const
std::vector<double> & new_tau`\n\n---\n```cpp\n// In AndersonModel\npublic:
double get_GF_cont_nonint(double tau, const std::vector<double>
&new_tau)\n```")
:range
(:end
(:character 42 :line 166)
:start
(:character 24 :line 166))))
[server-reply] (id:1145) Sat Feb 18 10:03:46 2023:
(:id 1145 :jsonrpc "2.0" :result
[(:kind 1 :range
(:end
(:character 42 :line 166)
:start
(:character 24 :line 166)))
(:kind 1 :range
(:end
(:character 37 :line 185)
:start
(:character 19 :line 185)))])
Wei-Ting
On Thu, Feb 9, 2023 at 12:05 PM Felician Nemeth <felician.nemeth <at> gmail.com>
wrote:
> Wei-Ting Lin <linwaytin <at> gmail.com> writes:
>
> > I prefer to have the information shown near the cursor, when it hovers
> on a
> > symbol. I use eldoc-doc for this purpose, and the result is like this
> > <https://i.imgur.com/8O0iEIJ.png>.
> >
> > As seen in the screenshot, the line is too long for the child frame and
> > gets wrapped. How can I change the length of the line?
>
> Can you show what did the LSP server send to Eglot? The relevant
> message should be near at the end of the events buffer, which you can
> see by M-x eglot-events-buffer RET right after eldoc displays the
> documentation.
>
> Thanks.
>
> > -------------------------------------------------------------------
> >
> > This issue was posted in
> > https://github.com/joaotavora/eglot/discussions/1157 originally.
>
[Message part 2 (text/html, inline)]
This bug report was last modified 2 years and 104 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.