fix cmp and codecompanion
- remove blink dependency - set up telescope as default provider for codecompanion slash commands
This commit is contained in:
parent
ef124ea808
commit
03701f3616
@ -2,7 +2,6 @@
|
|||||||
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
|
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
|
||||||
"any-jump.vim": { "branch": "master", "commit": "f95674d9a4251ac02f452d5f1861e4422f4652c7" },
|
"any-jump.vim": { "branch": "master", "commit": "f95674d9a4251ac02f452d5f1861e4422f4652c7" },
|
||||||
"auto-format.nvim": { "branch": "main", "commit": "1e3c069753d4b0960b351292c1a01af1b122907c" },
|
"auto-format.nvim": { "branch": "main", "commit": "1e3c069753d4b0960b351292c1a01af1b122907c" },
|
||||||
"blink.cmp": { "branch": "main", "commit": "93052a80660d741a051d43dc487c8bf7a2530b11" },
|
|
||||||
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
|
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
|
||||||
"catppuccin": { "branch": "main", "commit": "0b2437bcc12b4021614dc41fcea9d0f136d94063" },
|
"catppuccin": { "branch": "main", "commit": "0b2437bcc12b4021614dc41fcea9d0f136d94063" },
|
||||||
"cmp-async-path": { "branch": "main", "commit": "d6d1ffa2075039632a2d71e8fa139818e15ac757" },
|
"cmp-async-path": { "branch": "main", "commit": "d6d1ffa2075039632a2d71e8fa139818e15ac757" },
|
||||||
@ -11,7 +10,7 @@
|
|||||||
"cmp-nvim-lsp-document-symbol": { "branch": "main", "commit": "f94f7ba948e32cd302caba1c2ca3f7c697fb4fcf" },
|
"cmp-nvim-lsp-document-symbol": { "branch": "main", "commit": "f94f7ba948e32cd302caba1c2ca3f7c697fb4fcf" },
|
||||||
"cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "031e6ba70b0ad5eee49fd2120ff7a2e325b17fa7" },
|
"cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "031e6ba70b0ad5eee49fd2120ff7a2e325b17fa7" },
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
||||||
"codecompanion.nvim": { "branch": "main", "commit": "0ec5921712a426607be0c3c9f0a54b2c86467d4f" },
|
"codecompanion.nvim": { "branch": "main", "commit": "0a28b6147d77cac6029da8f751454ce6a65473b2" },
|
||||||
"copilot-cmp": { "branch": "master", "commit": "15fc12af3d0109fa76b60b5cffa1373697e261d1" },
|
"copilot-cmp": { "branch": "master", "commit": "15fc12af3d0109fa76b60b5cffa1373697e261d1" },
|
||||||
"copilot-lualine": { "branch": "main", "commit": "dc4b8ed0f75bc2557b3158c526624bf04ad233ea" },
|
"copilot-lualine": { "branch": "main", "commit": "dc4b8ed0f75bc2557b3158c526624bf04ad233ea" },
|
||||||
"copilot.lua": { "branch": "master", "commit": "30321e33b03cb924fdcd6a806a0dc6fa0b0eafb9" },
|
"copilot.lua": { "branch": "master", "commit": "30321e33b03cb924fdcd6a806a0dc6fa0b0eafb9" },
|
||||||
|
@ -35,3 +35,4 @@ require("lazy").setup({
|
|||||||
vim.cmd("colorscheme catppuccin")
|
vim.cmd("colorscheme catppuccin")
|
||||||
require("core.keymaps")
|
require("core.keymaps")
|
||||||
require("core.lsp-notifications")
|
require("core.lsp-notifications")
|
||||||
|
require("extensions.telescope")
|
||||||
|
8
lua/extensions/telescope.lua
Normal file
8
lua/extensions/telescope.lua
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
local ts = require("telescope")
|
||||||
|
ts.load_extension("fzf")
|
||||||
|
ts.load_extension("glyph")
|
||||||
|
ts.load_extension("color_names")
|
||||||
|
-- ts.load_extension("notify")
|
||||||
|
ts.load_extension("cmdline")
|
||||||
|
ts.load_extension("file_browser")
|
||||||
|
ts.load_extension("codecompanion")
|
@ -29,6 +29,28 @@ return {
|
|||||||
strategies = {
|
strategies = {
|
||||||
chat = {
|
chat = {
|
||||||
adapter = "copilot",
|
adapter = "copilot",
|
||||||
|
slash_commands = {
|
||||||
|
["file"] = {
|
||||||
|
opts = {
|
||||||
|
provider = "telescope",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["symbols"] = {
|
||||||
|
opts = {
|
||||||
|
provider = "telescope",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["buffer"] = {
|
||||||
|
opts = {
|
||||||
|
provider = "telescope",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["terminal"] = {
|
||||||
|
opts = {
|
||||||
|
provider = "telescope",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
inline = {
|
inline = {
|
||||||
adapter = "copilot",
|
adapter = "copilot",
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
return {
|
return {
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
dependencies = { "saghen/blink.cmp" },
|
|
||||||
config = function()
|
config = function()
|
||||||
local lspconfig = require("lspconfig")
|
local lspconfig = require("lspconfig")
|
||||||
vim.notify = require("notify")
|
vim.notify = require("notify")
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
return {
|
return {
|
||||||
"echasnovski/mini.diff",
|
"echasnovski/mini.diff",
|
||||||
depends = "echasnovski/mini.nvim",
|
depends = { "echasnovski/mini.nvim" },
|
||||||
opts = {
|
opts = {
|
||||||
|
|
||||||
-- Options for how hunks are visualized
|
-- Options for how hunks are visualized
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
return {
|
return {
|
||||||
"nvim-telescope/telescope.nvim",
|
"nvim-telescope/telescope.nvim",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
"jonarrien/telescope-cmdline.nvim",
|
"jonarrien/telescope-cmdline.nvim",
|
||||||
"nat-418/telescope-color-names.nvim",
|
"nat-418/telescope-color-names.nvim",
|
||||||
"nvim-telescope/telescope-file-browser.nvim",
|
"nvim-telescope/telescope-file-browser.nvim",
|
||||||
@ -107,13 +108,4 @@ return {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
config = function()
|
|
||||||
local ts = require("telescope")
|
|
||||||
ts.load_extension("fzf")
|
|
||||||
ts.load_extension("glyph")
|
|
||||||
ts.load_extension("color_names")
|
|
||||||
-- ts.load_extension("notify")
|
|
||||||
ts.load_extension("cmdline")
|
|
||||||
ts.load_extension("file_browser")
|
|
||||||
end,
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user