trouble.nvim icon indicating copy to clipboard operation
trouble.nvim copied to clipboard

How to enable inline errors.

Open Lalit64 opened this issue 3 years ago • 1 comments

Hey @folke. I've been using trouble.nvim and couldn't find a way to enable inline errors.

Lalit64 avatar Mar 30 '22 08:03 Lalit64

@Lalit64 Hi, if you want to display lsp diagnostics, it is the lsp option, not trouble.

vim.lsp.handlers["textDocument/publishDiagnostics"] =
	vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, { virtual_text = true })
```

yryrgogo avatar Dec 18 '22 01:12 yryrgogo

Development on the main branch is EOL.

Trouble has been rewritten and will be merged in main soon.

This issue/feature either no longer exists or has been implemented on dev.

For more info, see https://github.com/folke/trouble.nvim/tree/dev

folke avatar Mar 29 '24 07:03 folke