emacs

Drew Verlee 2025-04-10T22:50:39.022939Z

While we have emacs magicians solving obsecure problems... i like to use narrowing to look at single functions, any ideas why it doesn't play nice with lsp? What you see in the picture is that i narrowed the focus to a single expression and so it hide everything else but lsp references all get stacked next to each other lol.

ag 2025-04-11T02:54:55.359209Z

You can just remove them, eval

(remove-overlays (point-min) (point-max))
lsp-mode should recreate them properly in a few seconds

🙏 1
Drew Verlee 2025-04-11T02:56:11.378319Z

Thanks ag

Drew Verlee 2025-04-11T03:48:15.914149Z

lsp-lens-hide also does this!

yuhan 2025-04-11T04:05:56.067479Z

looks like this is a known issue: https://github.com/emacs-lsp/lsp-mode/issues/1957

👍 1