Many improvements.

This commit is contained in:
Drew 2025-04-27 20:57:49 -07:00
parent bcb5556f7c
commit 30e94f86f0
10 changed files with 247 additions and 7 deletions

8
lua/plugins/editor.lua Normal file
View file

@ -0,0 +1,8 @@
return {
{ "echasnovski/mini.pairs", event = "BufEnter", version = "*", opts = {} },
{ "echasnovski/mini.cursorword", event = "BufEnter", version = "*", opts = {} },
{
"folke/trouble.nvim",
opts = {},
},
}

22
lua/plugins/git.lua Normal file
View file

@ -0,0 +1,22 @@
return {
{
"lewis6991/gitsigns.nvim",
opts = {
signs = {
add = { text = "" },
change = { text = "" },
delete = { text = "" },
topdelete = { text = "" },
changedelete = { text = "" },
untracked = { text = "" },
},
signs_staged = {
add = { text = "" },
change = { text = "" },
delete = { text = "" },
topdelete = { text = "" },
changedelete = { text = "" },
},
},
},
}

View file

@ -4,4 +4,22 @@ return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
},
{
"mrcjkb/rustaceanvim",
version = "^6", -- Recommended
lazy = false, -- This plugin is already lazy
enabled = true,
},
{
"saghen/blink.cmp",
version = "1.*",
opts = {
keymap = {
preset = "enter",
},
sources = {
default = { "lsp", "path", "buffer" },
},
},
},
}

View file

@ -13,4 +13,42 @@ return {
end
end,
},
{
"akinsho/bufferline.nvim",
version = "*",
dependencies = "nvim-tree/nvim-web-devicons",
opts = {
options = {
diagnostics = "nvim_lsp",
show_close_icon = false,
separator_style = "slant",
offsets = {
{
filetype = "snacks_layout_box",
text = "󰙅 File Explorer",
separator = true,
},
},
},
},
},
{
"folke/noice.nvim",
event = "VeryLazy",
dependencies = {
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
"MunifTanjim/nui.nvim",
-- OPTIONAL:
-- `nvim-notify` is only needed, if you want to use the notification view.
-- If not available, we use `mini` as the fallback
-- "rcarriga/nvim-notify",
},
opts = {
-- you can enable a preset for easier configuration
presets = {
bottom_search = true, -- use a classic bottom cmdline for search
command_palette = true, -- position the cmdline and popupmenu together
},
},
},
}