plugins.wtf.enable

Whether to enable wtf.nvim.

Type: boolean

Default: false

Example: true

Declared by:

plugins.wtf.package

Which package to use for the wtf.nvim plugin.

Type: package

Default: <derivation vimplugin-wtf.nvim-2024-03-23>

Declared by:

plugins.wtf.additionalInstructions

Any additional instructions.

Type: null or string

Default: null

Declared by:

plugins.wtf.context

Send code as well as diagnostics.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.wtf.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.wtf.language

Set your preferred language for the response.

Plugin default: "english"

Type: null or string or raw lua code

Default: null

Declared by:

plugins.wtf.openaiApiKey

An alternative way to set your API key.

Type: null or string or raw lua code

Default: null

Declared by:

plugins.wtf.openaiModelId

ChatGPT Model.

Plugin default: "gpt-3.5-turbo"

Type: null or string or raw lua code

Default: null

Declared by:

plugins.wtf.popupType

Default AI popup type.

Plugin default: "popup"

Type: null or one of “popup”, “horizontal”, “vertical” or raw lua code

Default: null

Declared by:

plugins.wtf.searchEngine

Default search engine.

Plugin default: "google"

Type: null or one of “google”, “duck_duck_go”, “stack_overflow”, “github” or raw lua code

Default: null

Declared by:

plugins.wtf.winhighlight

Add custom colours.

Plugin default: "Normal:Normal,FloatBorder:FloatBorder"

Type: null or string or raw lua code

Default: null

Declared by: