Skip to content

Commit

Permalink
docs: added example that resembles the look and feel of v2
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed May 30, 2024
1 parent c1d9294 commit caeaed3
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,28 @@
}
```

### Make Trouble look like v2

```lua
{
icons = {
indent = {
middle = " ",
last = " ",
top = " ",
ws = "",
},
},
modes = {
diagnostics = {
groups = {
{ "filename", format = "{file_icon} {basename:Title} {count}" },
},
},
},
}
```

## Filtering

### Diagnostics for the current buffer only
Expand Down

0 comments on commit caeaed3

Please sign in to comment.