Merge branch 'docs-cook-book' into bleed
commit
86f1880748
|
@ -0,0 +1,18 @@
|
||||||
|
# Cookbook
|
||||||
|
|
||||||
|
## For highlight (groups) explorations, use `:lua require('telescope.builtin').highlights`
|
||||||
|
|
||||||
|
`:h telescope.builtin.highlights`. It's a winner in exploring the highlights
|
||||||
|
compared to `:highlight` that vomits to `:messages`-like interface that you
|
||||||
|
can't search
|
||||||
|
|
||||||
|
## Jump around diagnostics
|
||||||
|
|
||||||
|
Use `gh:folke/trouble` for window-persistent diagnostics. Otherwise, Telescope
|
||||||
|
provides a pretty good diagnostics
|
||||||
|
|
||||||
|
`:lua require("telescope.builtin").diagnostics {bufnr = <number | 0: current buffer | nil: all buffers}`
|
||||||
|
|
||||||
|
`:TroubleToggle loclist`
|
||||||
|
`:TroubleToggle workspace_diagnostics`
|
||||||
|
|
Loading…
Reference in New Issue