Enables finer control for when codeium is enabled by adding the g:codeium_filetypes_disabled_by_default variable.
It disables all filetypes by default, and makes it possible to use the g:codeium_filetypes variable to selectively enable codeium for specified filetypes:
" let g:codeium_enabled = v:true
let g:codeium_filetypes_disabled_by_default = v:true
let g:codeium_filetypes = {
\ "rust": v:true,
\ "typescript": v:true,
\ }
An alternative way to handle this issue would be to make g:codeium_enabled = v:false respect g:codeium_filetypes, meaning i.e. if "rust" is v:true, then we start codeium for that buffer, even if codeium is disabled. I guess this alternative would be a breaking change.
Enables finer control for when codeium is enabled by adding the
g:codeium_filetypes_disabled_by_default
variable.It disables all filetypes by default, and makes it possible to use the
g:codeium_filetypes
variable to selectively enable codeium for specified filetypes:An alternative way to handle this issue would be to make
g:codeium_enabled = v:false
respectg:codeium_filetypes
, meaning i.e. if"rust"
isv:true
, then we start codeium for that buffer, even if codeium is disabled. I guess this alternative would be a breaking change.