Replies: 3 comments 1 reply
-
Answering to myself since I found a way: I just copied https://github.com/AstroNvim/astrocommunity/blob/main/lua/astrocommunity/completion/copilot-lua-cmp/init.lua into my own However I still have sometimes (quite often actually) the shotcut to complete copilot suggestion that does not work. |
Beta Was this translation helpful? Give feedback.
-
sorry .. i guess its quicker to get answers on discord. you don't have to copy the whole init file. you can just keep the line you want to overwrite |
Beta Was this translation helpful? Give feedback.
-
even the readme shows a example how to do it https://github.com/AstroNvim/astrocommunity/blob/main/README.md#customizing-astrocommunity-installations |
Beta Was this translation helpful? Give feedback.
-
I am new to AstroNVim and I am not sure how to disable the behavior of the TAB key for the copilot plugin.
When editing code, it is not practical to have the TAB complete the copilot suggestion while you just want to insert a TAB.
I have tried to create a copilot.lua file in the plugins folder but I don't now how to edit so I can remap the TAB key or at least not override it.
I have seen in the code that it is actually a function defined for nvim-cmp so should I override this one instead of copilot ?
Beta Was this translation helpful? Give feedback.
All reactions