Koki Fukuda
8cc575d7d4
Update instruction to use with eglot
...
* README.org: Change eglot--managed-mode-hook to eglot-managed-mode-hook
2022-04-13 23:58:01 +09:00
Yuan Fu
c0cbb8d919
* eldoc-box.el (eldoc-box-frame-parameters): Hide tab-lines.
2022-02-27 22:31:47 -08:00
Yuan Fu
6fbb6e3e19
Remove unnecessary check for empty string in eldoc-box--display
...
* eldoc-box.el (eldoc-box--display): Now we require the caller to make
sure the string is not empty.
2022-02-20 12:47:10 -08:00
Yuan Fu
646ae5cdd8
Fix eldoc-box-frame-hook to run in childframe as documented
...
* eldoc-box.el (eldoc-box--get-frame): Run the hook in the childframe
2022-02-20 12:03:16 -08:00
Trevor Richards
3efb59ab78
Add customizable eldoc-box-offset
...
* eldoc-box.el (eldoc-box-offset): New option.
(eldoc-box--default-upper-corner-position-function): Use
eldoc-box-position-function
2022-02-16 14:21:32 -08:00
Doug Davis
13d207d408
fix child border in Emacs 28
...
* eldoc-box.el (eldoc-box--get-frame): Set child-frame-border's
background to border color.
2021-06-08 18:02:25 -04:00
Yuan Fu
f66f8d0641
Merge branch 'defcustom'
2021-04-02 16:39:01 -04:00
Jimmy Yuen Ho Wong
4e81912d9b
Turn defvars to defcustoms for the documentation variables
...
* eldoc-box.el (eldoc-box-only-multi-line, eldoc-box-cleanup-interval,
eldoc-box-clear-with-C-g, eldoc-box-max-pixel-width,
eldoc-box-max-pixel-height, eldoc-box--inhibit-childframe): Turn into
custom options.
2021-04-02 16:38:01 -04:00
Yuan Fu
20580ad346
Merge branch 'fix-compiler-warnings'
2021-04-02 16:36:41 -04:00
Jimmy Yuen Ho Wong
10c792cc40
Fix byte compiler warnings
...
* eldoc-box.el (require): New require form.
(eldoc-box-hover-at-point-mode, eldoc-box-hover-at-point-mode,
eldoc-box-hover-mode, eldoc-box-hover-at-point-mode): Move below.
(eglot--hover-info, eglot--current-server-or-lose,
eglot--TextDocumentPositionParams, eglot--error, jsonrpc-request): New
declare forms.
2021-04-02 16:35:03 -04:00
Jimmy Yuen Ho Wong
eb694dde6b
Consider a single newline terminated string as single line
...
* eldoc-box.el (eldoc-box--eldoc-message-function): Trim newlines in
DOC. Rename 'multi-line-p' to 'single-line-p'.
2021-04-02 16:29:57 -04:00
sm2n
d4574ee392
Fix eldoc-box-only-multi-line behavior
...
Prior to this change, single line eldoc messages were just ignored
completely when eldoc-box-only-multi-line was non-nil, though they
should have been displayed in the minibuffer.
* eldoc-box.el (eldoc-box--enable): Change :before-until to :before-while.
(eldoc-box--eldoc-message-function): Return nil if the message is not
multi-line, so that the default eldoc message function picks up the
message.
2021-03-13 13:24:35 -05:00
Yuan Fu
c1a1b77ec0
Update README
2020-04-06 14:44:01 -04:00
Yuan Fu
7fa3b78d07
Add at point position hack
...
This should fix #22
2020-03-16 15:56:50 -04:00
Yuan Fu
82dc2e96e6
Get point position right
2020-03-16 12:19:29 -04:00
Yuan Fu
9137860707
Fix window position-finding
2019-11-02 10:33:49 -04:00
Yuan Fu
33b73c9169
Recover window-header-line-height
2019-11-02 10:04:28 -04:00
Yuan Fu
d3ea596daa
Hotfix #24
2019-11-02 09:30:07 -04:00
Yuan Fu
ec87e8c7f8
Simplify position-finding code
2019-11-02 00:10:11 -04:00
Yuan Fu
fcebfaa141
Fix #15
...
Line numbers mode is the problem
2019-11-02 00:09:10 -04:00
Yuan Fu
033df7175d
Update readme
2019-10-08 10:36:46 -04:00
Yuan Fu
0fffdf9a11
Inhibit tab-bar in childframe ( #23 )
2019-10-08 10:27:22 -04:00
Yuan Fu
138386aa32
Merge branch 'new-feature'
2019-10-08 10:25:09 -04:00
Yuan Fu
9196bfe858
Take header line height into account in position calculation ( #22 )
2019-10-03 09:40:17 -04:00
Yuan Fu
5ca8a2cef5
Fix fringe
2019-10-03 09:34:49 -04:00
Yuan Fu
6c5c9d57d8
Inhibit childframe display when moving point ( #21 )
...
(only in at-point mode)
2019-10-03 09:34:45 -04:00
Yuan Fu
1cb8f409e0
Separate hover-mode and at-point-mode ( #21 )
...
at-point-mode no longer stack on top of hover-mode.
Instead, they stands as two exclusive modes,
enabling any one of them disables the other.
2019-10-03 00:50:57 -04:00
Yuan Fu
fb983d973e
Inhibit childframe display when moving point ( #21 )
...
(only in at-point mode)
2019-10-03 00:38:32 -04:00
Yuan Fu
8be8ef42d0
Separate hover-mode and at-point-mode
...
at-point-mode no longer stack on top of hover-mode.
Instead, they stands as two exclusive modes,
enabling any one of them disables the other.
2019-10-03 00:21:04 -04:00
Yuan Fu
c90d4c8285
Remove unused local var
2019-09-28 21:41:12 -04:00
Yuan Fu
028a29516d
Shrink fringe size
2019-08-13 13:44:37 +08:00
Yuan Fu
4c88ceecc6
Add buffer and frame hooks
2019-08-13 13:44:28 +08:00
Yuan Fu
93f89087b8
Improve eldoc-box-body face
...
Now every attribute takes effect.
2019-08-13 13:42:44 +08:00
Yuan Fu
8aa2b6d35a
Disable at-point mode when hover mode is disabled
2019-07-11 20:26:30 +08:00
Yuan Fu
d413647eea
Add badge and fix commentary
2019-07-11 20:18:04 +08:00
Yuan Fu
cad1c61433
Merge pull request #20 from mandarvaze/patch-1
...
Added link to MELPA in the README.org
2019-07-11 20:14:34 +08:00
Mandar Vaze
4cadf296fd
Added link to MELPA in the README.org
2019-07-11 13:31:16 +05:30
Yuan Fu
ae9cbb0c5a
Merge pull request #19 from casouri/follow-cursor
...
Follow cursor
2019-06-16 12:37:40 +08:00
Yuan Fu
a5d23bc7c7
Merge pull request #18 from ammarhusain/patch-1
...
Fix typo in README
2019-06-15 18:36:38 +08:00
Ammar Husain
080a63904c
Fix typo in README
2019-06-13 17:44:48 -07:00
Yuan Fu
46027fb449
Merge pull request #17 from casouri/cover-company-fix
...
Display childframe alongside company popup
2019-06-10 20:30:43 +08:00
Yuan Fu
ac4a3965ea
Revert (part of) last commit
2019-06-08 22:53:54 +08:00
Yuan Fu
2a198c4d3e
Follow cursor when in at-point mode
...
Instead of disappear.
2019-06-08 12:07:18 +08:00
Yuan Fu
f292d28712
Display childframe alongside company popup
2019-06-07 20:31:35 +08:00
Yuan Fu
5dbd37009e
Hide childframe when company pops up
...
An attempt to fix the issue mentioned in #11
2019-06-06 21:17:37 +08:00
Yuan Fu
c97fe860fa
Don't show childframe when docstring is an empty string
2019-05-29 16:31:01 +08:00
Yuan Fu
0071538273
Fix #14
2019-05-23 22:11:06 +08:00
Yuan Fu
0d671026b9
Update fringe face everytime the childframe is redisplayed
2019-03-05 16:06:46 -05:00
Yuan Fu
6caf8a2710
Add new variable eldoc-box-fringe-use-same-bg
2019-03-05 11:53:36 -05:00
Yuan Fu
61dd07f670
Update version
2019-02-20 14:36:09 -05:00