plugins.ollama.enable

Whether to enable ollama.nvim.

Type: boolean

Default: false

Example: true

Declared by:

plugins.ollama.package

Which package to use for the ollama.nvim plugin.

Type: package

Default: <derivation vimplugin-ollama.nvim-2024-06-09>

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.prompts

A table of prompts to use for each model. Default prompts are defined here.

Type: attribute set of ((submodule) or value false (singular enum))

Default: { }

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: