Skip to content

Commit

Permalink
Fix position hint before tabs with width 2
Browse files Browse the repository at this point in the history
  • Loading branch information
DogLooksGood committed Jan 30, 2024
1 parent 3247b9d commit 6a12dc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meow-visual.el
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,12 @@ Value is a list of (last-regexp last-pos idx cnt).")
(n (mod i 10)))
(overlay-put ov 'window (selected-window))
(cond
(before-full-width-char
(overlay-put ov 'display (propertize (format "%s" (meow--format-full-width-number n)) 'face face)))
(before-newline
(overlay-put ov 'display (concat (propertize (format "%s" n) 'face face) "\n")))
(before-tab
(overlay-put ov 'display (concat (propertize (format "%s" n) 'face face) "\t")))
(before-full-width-char
(overlay-put ov 'display (propertize (format "%s" (meow--format-full-width-number n)) 'face face)))
(t
(overlay-put ov 'display (propertize (format "%s" n) 'face face))))
(push ov meow--expand-overlays)
Expand Down

0 comments on commit 6a12dc4

Please sign in to comment.