Skip to content
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

Fix Incorrect Key for Virtual Text Spacing in Diagnostics Configuration #395

Merged
merged 1 commit into from
Nov 3, 2023
Merged

Fix Incorrect Key for Virtual Text Spacing in Diagnostics Configuration #395

merged 1 commit into from
Nov 3, 2023

Conversation

eitamal
Copy link
Contributor

@eitamal eitamal commented Nov 3, 2023

This PR corrects the key used to configure the virtual text spacing for diagnostics.

As per Neovim's documentation, the appropriate key for controlling the virtual text's spacing is spacing. However, the current configuration incorrectly uses space.

Before:

virtual_text = { space = 0, prefix = '' },

After:

virtual_text = { spacing = 0, prefix = '' },

It's worth noting that this change may not have a noticeable impact on functionality. This is because a nil spacing value might be interpreted similarly to a spacing value of 0.

Copy link
Owner

@ray-x ray-x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ray-x ray-x merged commit 47dd8f4 into ray-x:master Nov 3, 2023
2 of 3 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