Add opencode vim plugin
This commit is contained in:
@@ -114,15 +114,6 @@ require("lazy").setup({
|
|||||||
function() require('fff').live_grep() end,
|
function() require('fff').live_grep() end,
|
||||||
desc = 'LiFFFe grep',
|
desc = 'LiFFFe grep',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"fz",
|
|
||||||
function() require('fff').live_grep({
|
|
||||||
grep = {
|
|
||||||
modes = { 'fuzzy', 'plain' }
|
|
||||||
}
|
|
||||||
}) end,
|
|
||||||
desc = 'Live fffuzy grep',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"<leader>R",
|
"<leader>R",
|
||||||
function() require('fff').live_grep({ query = vim.fn.expand("<cword>") }) end,
|
function() require('fff').live_grep({ query = vim.fn.expand("<cword>") }) end,
|
||||||
@@ -264,6 +255,34 @@ require("lazy").setup({
|
|||||||
|
|
||||||
-- Utilities
|
-- Utilities
|
||||||
'nvim-lua/plenary.nvim',
|
'nvim-lua/plenary.nvim',
|
||||||
|
|
||||||
|
-- Opencode
|
||||||
|
{
|
||||||
|
"sudo-tee/opencode.nvim",
|
||||||
|
config = function()
|
||||||
|
require("opencode").setup({})
|
||||||
|
end,
|
||||||
|
dependencies = {
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
{
|
||||||
|
"MeanderingProgrammer/render-markdown.nvim",
|
||||||
|
opts = {
|
||||||
|
anti_conceal = { enabled = false },
|
||||||
|
file_types = { 'markdown', 'opencode_output' },
|
||||||
|
},
|
||||||
|
ft = { 'markdown', 'Avante', 'copilot-chat', 'opencode_output' },
|
||||||
|
},
|
||||||
|
-- Optional, for file mentions and commands completion, pick only one
|
||||||
|
-- 'saghen/blink.cmp',
|
||||||
|
'hrsh7th/nvim-cmp',
|
||||||
|
|
||||||
|
-- Optional, for file mentions picker, pick only one
|
||||||
|
-- 'folke/snacks.nvim',
|
||||||
|
-- 'nvim-telescope/telescope.nvim',
|
||||||
|
-- 'ibhagwan/fzf-lua',
|
||||||
|
-- 'nvim_mini/mini.nvim',
|
||||||
|
},
|
||||||
|
},
|
||||||
}, {
|
}, {
|
||||||
install = {
|
install = {
|
||||||
colorscheme = { "gruvbox-material" },
|
colorscheme = { "gruvbox-material" },
|
||||||
|
|||||||
Reference in New Issue
Block a user