Replies: 3 comments 3 replies
-
i couldnt find anything in the docs to get the behavior i want, setting the state of a global is likely not the best way to do this. |
Beta Was this translation helpful? Give feedback.
1 reply
-
nvm i must have screwed something up. |
Beta Was this translation helpful? Give feedback.
2 replies
-
I've made this. It toggles with Ctrl+Q. Create new lua file and paste it:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I'm coming from using lazyvim.
I am toggling the state of the code completion with
vim.b.completion = false
and i'm using a keymap to just set it to true or false,
but all blink does with this is read this on start and only start.
the issue is it seems that blink cmp does not check this global after neovim starts so there's no point in me toggling this.
It only checks once in the enabled field,
from the docs:
I don't know how to retrigger this enabled field to return false or true on a keymap and therefore reload code completion. I cannot find a way to programatically call blink.cmp to enable or disable. it's not apart of the API it looks like.
Beta Was this translation helpful? Give feedback.
All reactions