From e31481c537bbb1a1b2d8f1f9c10dbc718e7cab7d Mon Sep 17 00:00:00 2001 From: htran Date: Mon, 2 Oct 2023 02:27:22 -0700 Subject: [PATCH] docs: add cookbook --- native_configs/neovim/cook.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 native_configs/neovim/cook.md diff --git a/native_configs/neovim/cook.md b/native_configs/neovim/cook.md new file mode 100644 index 0000000..9335ebf --- /dev/null +++ b/native_configs/neovim/cook.md @@ -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 =