Skip to content

Commit 94aeee3

Browse files
committed
feat(mini.nvim): sync to 7d6fcfd
1 parent fcb0489 commit 94aeee3

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

mini.nvim/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,10 @@ There are following change types:
173173

174174
## mini.pick {#v0.17.0-mini.pick}
175175

176+
### Evolve {#v0.17.0-mini.pick-evolve}
177+
178+
- Pickers `grep` and `grep_live` with `rg` tool now respect Neovim's `'ignorecase'` and `'smartcase'` options. This forces corresponding case matching flag (thus overriding global configuration) in favor of a more consistent user experience.
179+
176180
### Expand {#v0.17.0-mini.pick-expand}
177181

178182
- "Paste" action now supports special registers: `<C-w>` (word at cursor), `<C-a>` (WORD at cursor), `<C-l>` (line at cursor), `<C-f>` (filename at cursor).

mini.nvim/doc/mini-hipatterns.qmd

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -341,17 +341,15 @@ Each entry defines single highlighter as a table with the following fields:
341341
If string:
342342

343343
- It can have submatch delimited by placing `()` on start and end, NOT
344-
by surrounding with it. Otherwise it will result in error
345-
containing `number expected, got string`. Example: `xx()abcd()xx`
346-
will match `abcd` only if `xx` is placed before and after it.
344+
by surrounding it with parenthesis (results in an error containing
345+
`number expected, got string`). Example: `xx()abcd()xx` will match
346+
`abcd` only if `xx` is placed before and after it.
347347

348348
If callable:
349349

350350
- It will be called for every enabled buffer with its identifier as input.
351-
352-
353-
- It can return `nil` meaning this particular highlighter will not work
354-
in this particular buffer.
351+
Should return single string pattern or `nil` (meaning this particular
352+
highlighter will not work in this particular buffer).
355353

356354
If array:
357355

mini.nvim/doc/mini-pick.qmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1532,6 +1532,8 @@ Lua pattern matches (NOT recommended in large directories).
15321532

15331533
To customize CLI tool search, either use tool's global configuration approach
15341534
or directly [MiniPick.builtin.cli()](mini-pick.qmd#minipick.builtin.cli) with specific command.
1535+
Options 'ignorecase' and 'smartcase' are respected via forcing appropriate
1536+
flags to CLI tool (i.e. overriding tool's global config).
15351537

15361538
#### Parameters {#minipick.builtin.grep-parameters}
15371539

@@ -1567,6 +1569,8 @@ Tries to use one of the CLI tools to create items (see [MiniPick-cli-tools](mini
15671569
`rg`, `git`. If none is present, error is thrown (for performance reasons).
15681570

15691571
To customize search, use tool's global configuration approach.
1572+
Options 'ignorecase' and 'smartcase' are respected via forcing appropriate
1573+
flags to CLI tool (i.e. overriding tool's global config).
15701574

15711575
#### Parameters {#minipick.builtin.grep_live-parameters}
15721576

0 commit comments

Comments
 (0)