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-2023-12-22>

Declared by:

plugins.ollama.action

How to handle prompt outputs when not specified by prompt.

See here for more details.

Plugin default: display

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

Default: null

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.

Plugin default: "mistral"

Type: null or string or raw lua code

Default: null

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.

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

Type: null or string or raw lua code

Default: null

Declared by: