doomemacs / doomemacs/core

Zen-mode hides lsp-ui-sideline.

Open
#6,171 0 comments 0 reactions 0 assignees View on GitHub
is:bug needs-triage
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### What did you expect to happen?

1. Enable lsp-ui-sideline and zen-mode.
2. lsp-ui-sideline is moved to respect the new borders in the buffer.

### What actually happened?

The borders introduced by zen-mode hide lsp-ui-sideline.

Normal lsp-ui-sideline, without zen-mode:
![1](https://user-images.githubusercontent.com/1848063/156379575-635ac21a-efc8-442d-b46c-aef1f5f93be0.png)

When zen-mode is enabled, content is hidden:
![2](https://user-images.githubusercontent.com/1848063/156379600-45afa5c2-59d5-4af5-bf81-71d135e14cca.png)

The default `writeroom-witdth` of 80 makes this more severe, and often hides everything. In these screenshots, it was set to 130.

### Describe your attempts to resolve the issue

_No response_

### Steps to reproduce

1. Enable `lsp-ui-sideline`
2. Enable `zen-mode`.
3. Hover over something that would trigger the sideline in a project that uses LSP, like a function name.

### System Information

https://pastebin.com/jARjQKUC

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.