From d39bef15806c2bd69df449f858cea41bb1aa014f Mon Sep 17 00:00:00 2001 From: Mika Vilpas Date: Sun, 22 Dec 2024 16:35:47 +0200 Subject: [PATCH] docs: add examples for multiple `project_root_marker`s Discussed a bit in https://github.com/mikavilpas/blink-ripgrep.nvim/issues/73 --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0247fa3..f546a95 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,11 @@ return { -- Specifies how to find the root of the project where the ripgrep -- search will start from. Accepts the same options as the marker -- given to `:h vim.fs.root()` which offers many possibilities for - -- configuration. + -- configuration. If none can be found, defaults to Neovim's cwd. + -- + -- Examples: + -- - ".git" (default) + -- - { ".git", "package.json", ".root" } project_root_marker = ".git", -- The casing to use for the search in a format that ripgrep