Skip to content

Conversation

@okuuva
Copy link
Contributor

@okuuva okuuva commented Dec 24, 2025

Makes it easier to control what LSPs attach to / plugins act upon the output panel.

Also make the output panel a scratch-buffer and set all the buffer options before opening the window.

I was thinking that maybe the ordering was the reason why LSP clients
(mainly otter.nvim) was insisting on attaching to the buffer even though
the buffer options should've prevented it in my personal config. It
ended up not being the case, but it still might be a good idea in case
it affects something else down the line.
It's used to show static text that's anyway discarded after closing.
Using a scratch-buffer sets the `buftype` to `nofile` automatically, and
seems to automatically prevent LSPs from attaching to the buffer. Though
YMMV.
Further helps controlling what LSPs attach to / plugins act upon the
output panel.
@mrjones2014
Copy link
Owner

okuuva:push-qpuzotkovqrp

A fellow jj enjoyer 🫡

@mrjones2014 mrjones2014 merged commit f007dc0 into mrjones2014:master Dec 25, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants