dotfiles/native_configs/neovim/cook.md

585 B

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