plugins.ollama.enable

Whether to enable ollama.nvim.

Type: boolean

Default: false

Example: true

Declared by:

plugins.ollama.package

The ollama.nvim package to use.

Type: package

Default: pkgs.vimPlugins.ollama-nvim

Declared by:

plugins.ollama.action

How to handle prompt outputs when not specified by prompt.

See here for more details.

Type: null or raw lua code or one of “display”, “replace”, “insert”, “display_replace”, “display_insert”, “display_prompt” or (submodule)

Default: null

Plugin default: "display"

Declared by:

plugins.ollama.extraOptions

These attributes will be added to the table parameter for the setup function. Typically, it can override NixVim’s default settings.

Type: attribute set of anything

Default: { }

Declared by:

plugins.ollama.model

The default model to use.

Type: null or string or raw lua code

Default: null

Plugin default: "mistral"

Declared by:

plugins.ollama.url

The url to use to connect to the ollama server.

Type: null or string or raw lua code

Default: null

Plugin default: "http://127.0.0.1:11434"

Declared by: