How do i get the end of line errors like in error lens in vscode #646
Unanswered
Rain-Gayming
asked this question in
Q&A
Replies: 1 comment
-
|
This is built into neovim now! vim.diagnostic.config({
virtual_text = {
-- source = "always", -- Or "if_many"
prefix = '●', -- Could be '■', '▎', 'x'
},
severity_sort = true,
float = {
source = true
},
})Or personally I like to show them as virtual lines below the line so you can see more of the error (some people don't like that it moves things around though) vim.diagnostic.config({
virtual_line = { -- this part is different!
-- source = "always", -- Or "if_many"
prefix = '●', -- Could be '■', '▎', 'x'
},
severity_sort = true,
float = {
source = true
},
})
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I saw this in the readme, it looks like the error lens plugin from VSCode, how do i enable this in trouble?

Beta Was this translation helpful? Give feedback.
All reactions