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/fxfqrifyj98wxlvx1aii61bb07zsgf1i-codeium-1.8.42/bin/codeium_language_server"

Declared by:

plugins.codeium-vim.settings.disable_bindings

Whether to disable default keybindings.

Plugin default: false

Type: null or boolean or raw lua code

Default: null

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.

Plugin default:

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

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

Default: null

Declared by:

plugins.codeium-vim.settings.idle_delay

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

Plugin default: 75

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

Default: null

Declared by:

plugins.codeium-vim.settings.manual

If true, codeium completions will never automatically trigger.

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.codeium-vim.settings.no_map_tab

Whether to disable the <Tab> keybinding.

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.codeium-vim.settings.render

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

Plugin default: true

Type: null or boolean or raw lua code

Default: null

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: