Skip to content

fix: join newlines in label_description #333

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 15, 2024

Conversation

ofseed
Copy link
Contributor

@ofseed ofseed commented Nov 15, 2024

Some LSP servers return label_description containing newlines, which is not allowed since this part will be applied to

vim.api.nvim_buf_set_lines(bufnr, 0, -1, false, lines)
.

@Saghen
Copy link
Owner

Saghen commented Nov 15, 2024

Nice catch, thanks! I've switched this to use the newline character (↲) instead and backported that to label and label_detail as well.

@Saghen Saghen merged commit 8ba2069 into Saghen:main Nov 15, 2024
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