Compare commits
2 Commits
cb286b897d
...
86f1880748
Author | SHA1 | Date |
---|---|---|
htran | 86f1880748 | |
htran | e31481c537 |
|
@ -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