chore: added amp for testing
This commit is contained in:
parent
605abd5772
commit
b1bf9a5f9f
8
.config/nvim/lua/lazyvim/plugins/amp.lua
Normal file
8
.config/nvim/lua/lazyvim/plugins/amp.lua
Normal file
@ -0,0 +1,8 @@
|
||||
return {
|
||||
{
|
||||
"sourcegraph/amp.nvim",
|
||||
branch = "main",
|
||||
lazy = false,
|
||||
opts = { auto_start = true, log_level = "info" },
|
||||
},
|
||||
}
|
||||
@ -1,12 +1,12 @@
|
||||
return {
|
||||
{
|
||||
'saghen/blink.cmp',
|
||||
"saghen/blink.cmp",
|
||||
enabled = true,
|
||||
-- optional: provides snippets for the snippet source
|
||||
dependencies = 'rafamadriz/friendly-snippets',
|
||||
dependencies = "rafamadriz/friendly-snippets",
|
||||
|
||||
-- use a release tag to download pre-built binaries
|
||||
version = '*',
|
||||
version = "*",
|
||||
-- AND/OR build from source, requires nightly: https://rust-lang.github.io/rustup/concepts/channels.html#working-with-nightly-rust
|
||||
-- build = 'cargo build --release',
|
||||
-- If you use nix, you can build from source using latest nightly rust with:
|
||||
@ -25,7 +25,7 @@ return {
|
||||
-- 'enter' for mappings similar to 'super-tab' but with 'enter' to accept
|
||||
-- See the full "keymap" documentation for information on defining your own keymap.
|
||||
keymap = {
|
||||
preset = 'enter',
|
||||
preset = "enter",
|
||||
},
|
||||
|
||||
appearance = {
|
||||
@ -35,17 +35,17 @@ return {
|
||||
use_nvim_cmp_as_default = true,
|
||||
-- Set to 'mono' for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
|
||||
-- Adjusts spacing to ensure icons are aligned
|
||||
nerd_font_variant = 'mono'
|
||||
nerd_font_variant = "mono",
|
||||
},
|
||||
|
||||
-- Default list of enabled providers defined so that you can extend it
|
||||
-- elsewhere in your config, without redefining it, due to `opts_extend`
|
||||
sources = {
|
||||
default = { 'lsp', 'path', 'snippets', 'buffer', 'codecompanion' },
|
||||
-- default = { 'lsp', 'path', 'snippets', 'buffer' },
|
||||
-- default = { 'lsp', 'path', 'snippets', 'buffer', 'codecompanion' },
|
||||
default = { "lsp", "path", "snippets", "buffer" },
|
||||
},
|
||||
},
|
||||
opts_extend = { "sources.default" }
|
||||
opts_extend = { "sources.default" },
|
||||
},
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
return {
|
||||
{
|
||||
"olimorris/codecompanion.nvim",
|
||||
enabled = require('lazyvim.utils').exists('$HOME/.config/openai/KEY'),
|
||||
enabled = false and require("lazyvim.utils").exists("$HOME/.config/openai/KEY"),
|
||||
lazy = false,
|
||||
dependencies = {
|
||||
{ "nvim-lua/plenary.nvim", branch = "master" },
|
||||
@ -9,7 +9,7 @@ return {
|
||||
"ravitemer/mcphub.nvim",
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>C", "<cmd>CodeCompanionChat<cr>", desc = "Open CodeCompanion Chat" }
|
||||
{ "<leader>C", "<cmd>CodeCompanionChat<cr>", desc = "Open CodeCompanion Chat" },
|
||||
},
|
||||
opts = {
|
||||
strategies = {
|
||||
@ -22,9 +22,9 @@ return {
|
||||
opts = {
|
||||
make_vars = true,
|
||||
make_slash_commands = true,
|
||||
show_result_in_chat = true
|
||||
}
|
||||
}
|
||||
show_result_in_chat = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
opts = {
|
||||
log_level = "DEBUG",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user