universal-ctags / citre

A superior code reading & auto-completion tool with pluggable backends.
GNU General Public License v3.0
320 stars 26 forks source link

peed window display issue when display-line-numbers-mode turn on #161

Closed brianjcj closed 3 months ago

brianjcj commented 1 year ago

peed window display problem when display-line-numbers-mode turn on, in both gui and tui

gui: 图片

in terminal: 图片

jsntn commented 10 months ago

Encountered the same issue once I enabled the line numbers as shown below,

(global-display-line-numbers-mode 1)

PS, no issue if I enable the line numbers with,

(global-linum-mode t)

However, I would prefer to use global-display-line-numbers-mode due to the slow scrolling response issue with global-linum-mode in my case.

AmaiKinono commented 3 months ago

It's now fixed. See the user manual:

If you have line numbers turned on, and is using a graphic display, then the peek window may look strange. In this situation, set citre-peek-fill-fringe to nil, and citre-peek-use-dashes-as-horizontal-border to t. Read their docstrings for details.