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

Enable virtualtext by default #4396

Closed
w0rp opened this issue Dec 25, 2022 · 3 comments
Closed

Enable virtualtext by default #4396

w0rp opened this issue Dec 25, 2022 · 3 comments
Assignees

Comments

@w0rp
Copy link
Member

w0rp commented Dec 25, 2022

Vim 9 and recent NeoVim versions have generally pretty good virtualtext support. We could start enabling virtualtext messages by default with clear documentation for how to turn the information off easily so the default experience for new users is that warnings and errors start appearing in their editors in a place that's very easy to view.

The demo GIF in the ALE README could be updated to show virtualtext errors and warnings, plus :ALEFix, and maybe some completion being done too.

@w0rp w0rp self-assigned this Dec 25, 2022
@w0rp
Copy link
Member Author

w0rp commented Dec 25, 2022

I might set it so the default is based on a has check for new enough Vim and NeoVim versions.

@w0rp w0rp closed this as completed in 9f2a000 Dec 25, 2022
@yous
Copy link
Contributor

yous commented Dec 26, 2022

With let g:ale_set_highlights = 0, this causes the error E970: Unknown highlight group name: 'ALEVirtualTextError'.

@marcinn
Copy link

marcinn commented Feb 8, 2023

May I suggest disabling this "feature" at default? It generates a mess in a editor window, which reduces code readability. The window with issues / statusline are good enough.

mnikulin pushed a commit to mnikulin/ale that referenced this issue Nov 12, 2023
Wherever it's supported, enable virtualtext by default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants