docs(update): rename results.win to win in README (#559)

#558 

Update docs

Thanks for all your work folke!
This commit is contained in:
Ioannis Chrysostomakis 2024-07-22 11:50:39 +03:00 committed by GitHub
parent 40c5317a6e
commit e67fee6489
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -334,16 +334,16 @@ Some examples:
- `Trouble diagnostics toggle focus=false filter.buf=0`
- Show document symbols on the right of the current window.
Keep the document symbols in sync with the buffer you started the command in.
- `Trouble symbols toggle pinned=true results.win.relative=win results.win.position=right`
- `Trouble symbols toggle pinned=true win.relative=win win.position=right`
- You can use **lua** code in the options for the `Trouble` command.
The examples below all do the same thing.
- `Trouble diagnostics filter.severity=vim.diagnostic.severity.ERROR`
- `Trouble diagnostics filter.severity = vim.diagnostic.severity.ERROR`
- `Trouble diagnostics filter = { severity=vim.diagnostic.severity.ERROR }`
- Merging of nested options, with or without quoting strings:
- `Trouble diagnostics results.win.type = split result.win.position=right`
- `Trouble diagnostics results.win = { type = split, position=right}`
- `Trouble diagnostics results.win = { type = "split", position='right'}`
- `Trouble diagnostics win.type = split win.position=right`
- `Trouble diagnostics win = { type = split, position=right}`
- `Trouble diagnostics win = { type = "split", position='right'}`
Please refer to the API section for more information on the available actions and options.