doctorfree / nvim-lazyman

Neovim configuration manager and Lazy/Lua/Mason based Neovim config. Manage multiple Neovim configurations with the lazyman command. ☕
https://lazyman.dev
MIT License
263 stars 8 forks source link

How to reduce Buffer auto completion key stroke to 2 from 5 #64

Closed wxguy closed 7 months ago

wxguy commented 7 months ago

I am working on a project that requires a lot of writing and minimal coding. Currently, the lman provides auto-completion suggestion from the buffer after entering 5 keystrokes. It is really reducing the speed of my work. I want to reduce the keystroke from 5 to 2 so that I get quick suggestions. How do I do that? Looked at many files in the ecovim directory but was unable to figure out the correct .lua file.

doctorfree commented 7 months ago

@wxguy try adjusting keyword_length in ~/.config/nvim-Lazyman/lua/config/nvim-cmp.lua

wxguy commented 7 months ago

Thank you. It works.