plugins.codeium-vim.settings

The configuration options for codeium-vim without the codeium_ prefix.

For example, the following settings are equivialent to these :setglobal commands:

  • foo_bar = 1 -> :setglobal codeium_foo_bar=1
  • hello = "world" -> :setglobal codeium_hello="world"
  • some_toggle = true -> :setglobal codeium_some_toggle
  • other_toggle = false -> :setglobal nocodeium_other_toggle

Type: attribute set of anything

Default: { }

Example:

{
  callback = {
    __raw = ''
      function()
        print('nixvim')
      end
    '';
  };
  foo_bar = 42;
  hostname = "localhost:8080";
}

Declared by:

plugins.codeium-vim.settings.bin

The path to the codeium language server executable.

Type: null or string

Default: "/nix/store/qpviq76biag3zzzs74ib2jf5gn1mm466-codeium-1.24.2/bin/codeium_language_server"

Declared by:

plugins.codeium-vim.settings.disable_bindings

Whether to disable default keybindings.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.codeium-vim.settings.filetypes

A dictionary mapping whether codeium should be enabled or disabled in certain filetypes. This can be used to opt out of completions for certain filetypes.

Type: null or (attribute set of (boolean or raw lua code))

Default: null

Plugin default:

{
  "." = false;
  gitcommit = false;
  gitrebase = false;
  help = false;
}

Declared by:

plugins.codeium-vim.settings.idle_delay

Delay in milliseconds before autocompletions are shown (limited by language server to a minimum of 75).

Type: null or positive integer, meaning >0, or raw lua code

Default: null

Plugin default: 75

Declared by:

plugins.codeium-vim.settings.manual

If true, codeium completions will never automatically trigger.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.codeium-vim.settings.no_map_tab

Whether to disable the <Tab> keybinding.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.codeium-vim.settings.render

A global boolean flag that controls whether codeium renders are enabled or disabled.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.codeium-vim.settings.tab_fallback

The fallback key when there is no suggestion display in codeium#Accept().

Default: “<C-N>” when a popup menu is visible, else “\t”.

Type: null or string

Default: null

Declared by: