plugin refresh

This commit is contained in:
nicholasdominici 2025-03-14 10:43:01 -07:00
parent 80c2d1d5d8
commit f577a7036f
3 changed files with 122 additions and 90 deletions

View File

@ -91,7 +91,7 @@ vim.g.mapleader = ' '
vim.g.maplocalleader = ' ' vim.g.maplocalleader = ' '
-- Set to true if you have a Nerd Font installed and selected in the terminal -- Set to true if you have a Nerd Font installed and selected in the terminal
vim.g.have_nerd_font = false vim.g.have_nerd_font = true
-- [[ Setting options ]] -- [[ Setting options ]]
-- See `:help vim.opt` -- See `:help vim.opt`
@ -173,7 +173,7 @@ vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
-- Diagnostic keymaps -- Diagnostic keymaps
vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' }) vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' })
vim.diagnostic.config { virtual_lines = true }
-- Exit terminal mode in the builtin terminal with a shortcut that is a bit easier -- Exit terminal mode in the builtin terminal with a shortcut that is a bit easier
-- for people to discover. Otherwise, you normally need to press <C-\><C-n>, which -- for people to discover. Otherwise, you normally need to press <C-\><C-n>, which
-- is not what someone will guess without a bit more experience. -- is not what someone will guess without a bit more experience.
@ -401,6 +401,19 @@ require('lazy').setup({
['ui-select'] = { ['ui-select'] = {
require('telescope.themes').get_dropdown(), require('telescope.themes').get_dropdown(),
}, },
'fzf',
},
pickers = {
live_grep = {
file_ignore_patterns = { 'node_modules', '.git', '.venv' },
additional_args = function(_)
return { '--hidden' }
end,
},
find_files = {
file_ignore_patterns = { 'node_modules', '.git', '.venv' },
hidden = true,
},
}, },
} }
@ -827,6 +840,7 @@ require('lazy').setup({
{ name = 'nvim_lsp' }, { name = 'nvim_lsp' },
{ name = 'luasnip' }, { name = 'luasnip' },
{ name = 'path' }, { name = 'path' },
{ name = 'minuet-ai' },
}, },
} }
end, end,

View File

@ -10,7 +10,23 @@ return {
---@type snacks.Config ---@type snacks.Config
opts = { opts = {
bigfile = { enabled = true }, bigfile = { enabled = true },
dashboard = { enabled = true }, dashboard = {
enabled = true,
sections = {
{
section = 'terminal',
cmd = 'chafa ~/.config/neofetch/ascii/patrick.png --format symbols --symbols vhalf --size 45x40',
height = 25,
padding = 1,
},
{
pane = 2,
{ icon = '', title = 'Keymaps', section = 'keys', indent = 2, padding = 1 },
{ icon = '', title = 'Recent Files', section = 'recent_files', indent = 2, padding = 1 },
{ icon = '', title = 'Projects', section = 'projects', indent = 2, padding = 1 },
},
},
},
notifier = { notifier = {
enabled = true, enabled = true,
timeout = 3000, timeout = 3000,
@ -148,66 +164,6 @@ return {
---@type render.md.UserConfig ---@type render.md.UserConfig
opts = {}, opts = {},
}, },
{
'yetone/avante.nvim',
event = 'VeryLazy',
lazy = false,
version = false, -- set this if you want to always pull the latest change
opts = {
-- add any opts here
},
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
build = 'make',
-- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows
dependencies = {
'stevearc/dressing.nvim',
'nvim-lua/plenary.nvim',
'MunifTanjim/nui.nvim',
--- The below dependencies are optional,
'hrsh7th/nvim-cmp', -- autocompletion for avante commands and mentions
'nvim-tree/nvim-web-devicons', -- or echasnovski/mini.icons
'zbirenbaum/copilot.lua', -- for providers='copilot'
{
-- support for image pasting
'HakonHarnes/img-clip.nvim',
event = 'VeryLazy',
opts = {
-- recommended settings
default = {
embed_image_as_base64 = false,
prompt_for_file_name = false,
drag_and_drop = {
insert_mode = true,
},
-- required for Windows users
use_absolute_path = true,
},
},
},
{
-- Make sure to set this up properly if you have lazy=true
'MeanderingProgrammer/render-markdown.nvim',
opts = {
file_types = { 'markdown', 'Avante' },
},
ft = { 'markdown', 'Avante' },
},
},
config = function()
require('avante').setup {
provider = 'openai',
auto_suggestions_provider = 'openai',
behaviour = {
auto_suggestions = true, -- experimental stage
auto_set_highlight_group = true,
auto_set_keymaps = true,
auto_apply_diff_after_generation = false,
support_paste_from_clipboard = true,
minimize_diff = true, -- whether to remove unchanged lines when applying a code block
},
}
end,
},
{ {
'jose-elias-alvarez/null-ls.nvim', 'jose-elias-alvarez/null-ls.nvim',
config = function() config = function()
@ -330,39 +286,20 @@ return {
version = '*', version = '*',
config = function() config = function()
require('mini.icons').setup() require('mini.icons').setup()
require('mini.sessions').setup()
end, end,
}, },
{ {
'utilyre/barbecue.nvim', 'Bekaboo/dropbar.nvim',
name = 'barbecue', -- optional, but required for fuzzy finder support
version = '*',
dependencies = { dependencies = {
'SmiteshP/nvim-navic', 'nvim-telescope/telescope-fzf-native.nvim',
'nvim-tree/nvim-web-devicons', -- optional dependency build = 'make',
},
opts = {
-- configurations go here
}, },
config = function() config = function()
require('barbecue').setup { local dropbar_api = require 'dropbar.api'
create_autocmd = false, -- prevent barbecue from updating itself automatically vim.keymap.set('n', '<Leader>;', dropbar_api.pick, { desc = 'Pick symbols in winbar' })
} vim.keymap.set('n', '[;', dropbar_api.goto_context_start, { desc = 'Go to start of current context' })
vim.keymap.set('n', '];', dropbar_api.select_next_context, { desc = 'Select next context' })
vim.api.nvim_create_autocmd({
'WinScrolled', -- or WinResized on NVIM-v0.9 and higher
'BufWinEnter',
'CursorHold',
'InsertLeave',
-- include this if you have set `show_modified` to `true`
-- "BufModifiedSet",
}, {
group = vim.api.nvim_create_augroup('barbecue.updater', {}),
callback = function()
require('barbecue.ui').update()
end,
})
end, end,
}, },
{ {
@ -443,4 +380,85 @@ return {
}, },
}, },
{ 'ThePrimeagen/vim-be-good' }, { 'ThePrimeagen/vim-be-good' },
{
'yetone/avante.nvim',
event = 'VeryLazy',
version = '*', -- Set this to "*" to always pull the latest release version, or set it to false to update to the latest code changes.
opts = {
-- add any opts here
-- for example
provider = 'openai',
openai = {
endpoint = 'https://api.openai.com/v1',
model = 'gpt-4o', -- your desired model (or use gpt-4o, etc.)
timeout = 30000, -- timeout in milliseconds
temperature = 0, -- adjust if needed
max_tokens = 4096,
-- reasoning_effort = "high" -- only supported for reasoning models (o1, etc.)
},
behaviour = {
auto_suggestions = true, -- Experimental stage
auto_set_highlight_group = true,
auto_set_keymaps = true,
auto_apply_diff_after_generation = false,
support_paste_from_clipboard = true,
minimize_diff = true, -- Whether to remove unchanged lines when applying a code block
enable_token_counting = true, -- Whether to enable token counting. Default to true.
enable_cursor_planning_mode = false, -- Whether to enable Cursor Planning Mode. Default to false.
},
},
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
build = 'make',
-- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows
dependencies = {
'nvim-treesitter/nvim-treesitter',
'stevearc/dressing.nvim',
'nvim-lua/plenary.nvim',
'MunifTanjim/nui.nvim',
--- The below dependencies are optional,
'echasnovski/mini.pick', -- for file_selector provider mini.pick
'nvim-telescope/telescope.nvim', -- for file_selector provider telescope
'hrsh7th/nvim-cmp', -- autocompletion for avante commands and mentions
'ibhagwan/fzf-lua', -- for file_selector provider fzf
'nvim-tree/nvim-web-devicons', -- or echasnovski/mini.icons
'zbirenbaum/copilot.lua', -- for providers='copilot'
{
-- support for image pasting
'HakonHarnes/img-clip.nvim',
event = 'VeryLazy',
opts = {
-- recommended settings
default = {
embed_image_as_base64 = false,
prompt_for_file_name = false,
drag_and_drop = {
insert_mode = true,
},
-- required for Windows users
use_absolute_path = false,
},
},
},
{
-- Make sure to set this up properly if you have lazy=true
'MeanderingProgrammer/render-markdown.nvim',
opts = {
file_types = { 'markdown', 'Avante' },
},
ft = { 'markdown', 'Avante' },
},
},
},
{
'supermaven-inc/supermaven-nvim',
config = function()
require('supermaven-nvim').setup {
keymaps = {
accept_suggestion = '<D-l>',
clear_suggestion = '<D-]>',
accept_word = '<D-j>',
},
}
end,
},
} }

BIN
typrstats Normal file

Binary file not shown.