Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
TwIStOy committed Apr 17, 2024
1 parent 5e0bf5b commit 4118c52
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/dotvim/bootstrap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ local enabled_packages = {
"extra.languages.yaml",
"extra.languages.toml",
"extra.misc.competitive-programming",
"extra.misc.copilot",
"extra.misc.ai",
"extra.misc.rime",
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ local _copilot_setup_done = false

---@type dotvim.core.package.PackageOption
return {
name = "extra.misc.copilot",
name = "extra.misc.ai",
deps = {
"coding",
"editor",
Expand Down Expand Up @@ -218,5 +218,22 @@ return {
table.insert(opts.sections.lualine_y, 1, component)
end,
},
{
"David-Kunz/gen.nvim",
cmd = "Gen",
opts = {
model = "mistral", -- The default model to use.
host = "localhost", -- The host running the Ollama service.
port = "11434", -- The port on which the Ollama service is listening.
quit_map = "q",
retry_map = "<c-r>",
init = function() end, -- do nothing!
display_mode = "float", -- The display mode. Can be "float" or "split".
show_prompt = false, -- Shows the prompt submitted to Ollama.
show_model = false, -- Displays which model you are using at the beginning of your chat session.
no_auto_close = false, -- Never closes the window automatically.
debug = false, -- Prints errors and the command which is run.
},
},
},
}

0 comments on commit 4118c52

Please sign in to comment.