branch: externals/minuet commit c51d5a42d4b16aecf62951b90dc0d6ed8af63ad9 Author: Milan Glacier <d...@milanglacier.com> Commit: Milan Glacier <d...@milanglacier.com>
feat!: set default `minuet-before-cursor-filter-length` to 2 When `minuet-before-cursor-filter-length` is set to `1`, it can result in numerous false positives, for example during completions involving multiple `if-else` statements: ```bash if xxx fi | (cursor position) ``` With the value set to `1`, the first character of the completion item (e.g., `i` in `if`) is removed, leading to incorrect suggestions. --- minuet.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minuet.el b/minuet.el index 4e4dc7ed10..8c6fb3ebde 100644 --- a/minuet.el +++ b/minuet.el @@ -167,7 +167,7 @@ the cursor, the candidate will be truncated by those 20 characters before being delivered." :type 'integer) -(defcustom minuet-before-cursor-filter-length 1 +(defcustom minuet-before-cursor-filter-length 2 "Length of context before cursor used to filter completion text. This setting helps prevent the language model from generating