90 lines
2.1 KiB
Lua
90 lines
2.1 KiB
Lua
return {
|
|
{
|
|
"stevearc/conform.nvim",
|
|
-- event = 'BufWritePre', -- uncomment for format on save
|
|
opts = require "configs.conform",
|
|
},
|
|
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
config = function()
|
|
require "configs.lspconfig"
|
|
end,
|
|
},
|
|
|
|
{
|
|
"olimorris/codecompanion.nvim",
|
|
version = "^19.0.0",
|
|
lazy = false,
|
|
dependencies = {
|
|
"nvim-lua/plenary.nvim",
|
|
"nvim-treesitter/nvim-treesitter",
|
|
},
|
|
opts = function()
|
|
return require "configs.codecompanion"
|
|
end,
|
|
},
|
|
{
|
|
"MeanderingProgrammer/render-markdown.nvim",
|
|
ft = { "markdown", "gitcommit", "codecompanion" },
|
|
opts = function()
|
|
return require "configs.render-markdown"
|
|
end,
|
|
},
|
|
{
|
|
"folke/snacks.nvim",
|
|
priority = 1000,
|
|
lazy = false,
|
|
---@type snacks.Config
|
|
opts = {
|
|
-- your configuration comes here
|
|
-- or leave it empty to use the default settings
|
|
-- refer to the configuration section below
|
|
bigfile = { enabled = false },
|
|
dashboard = { enabled = false },
|
|
explorer = { enabled = true },
|
|
indent = { enabled = true },
|
|
input = { enabled = true },
|
|
picker = { enabled = false },
|
|
notifier = { enabled = true },
|
|
quickfile = { enabled = true },
|
|
scope = { enabled = true },
|
|
scroll = { enabled = true },
|
|
statuscolumn = { enabled = true },
|
|
words = { enabled = true },
|
|
},
|
|
},
|
|
|
|
-- {
|
|
-- "jacob411/Ollama-Copilot",
|
|
-- opts = {
|
|
-- model_name = "llama3:3b",
|
|
-- stream_suggestion = false,
|
|
-- python_command = "python3",
|
|
-- filetypes = { "python", "lua", "vim", "markdown", "javascript", "typescript" },
|
|
-- ollama_model_opts = {
|
|
-- num_predict = 40,
|
|
-- temperature = 0.1,
|
|
-- },
|
|
-- keymaps = {
|
|
-- suggestion = "<leader>os",
|
|
-- reject = "<leader>or",
|
|
-- insert_accept = "<Tab>",
|
|
-- },
|
|
-- },
|
|
-- },
|
|
|
|
-- These are some examples, uncomment them if you want to see them work!
|
|
--
|
|
-- {
|
|
-- "nvim-treesitter/nvim-treesitter",
|
|
-- opts = {
|
|
-- ensure_installed = {
|
|
-- "vim", "lua", "vimdoc",
|
|
-- "html", "css"
|
|
-- },
|
|
-- },
|
|
-- },
|
|
--
|
|
}
|