nvim: update plugins for nvim v0.9

Largely, this is simply bumping versions and fixing a few configurations
that were changed in newer versions of the plugins.

I did however notice our package manager (packer.nvim) is orphaned now,
and I need to switch to a different one in the near future...
This commit is contained in:
Paul Stemmet 2024-07-07 21:30:47 +00:00
parent 45d7789e15
commit ad6670791a
Signed by: Paul Stemmet
GPG Key ID: EDEA539F594E7E75
5 changed files with 29 additions and 14 deletions

View File

@ -3,7 +3,7 @@ return function()
local defaults = {
always_show_bufferline = true,
numbers = "none",
numbers = 'none',
diagnostics = false,
offsets = {{
filetype = 'neo-tree',
@ -11,7 +11,7 @@ return function()
text_align = 'center'
}},
show_buffer_close_icons = false,
separator_style = { '\u{E0B0}', '\u{E0B1}' },
separator_style = 'slope',
sort_by = 'relative_directory',
}

View File

@ -2,9 +2,19 @@ return function()
local fidget, util = require 'fidget', require 'psoxizsh.util'
local defaults = {
text = { spinner = 'dots_snake' },
timer = { fidget_decay = 1500 },
fmt = { stack_upwards = true },
progress = {
display = {
progress_icon = {
pattern = "dots_snake",
},
},
},
notification = {
view = {
stack_upwards = true,
}
}
}
fidget.setup(util.mconfig('config.fidget', defaults))

View File

@ -3,8 +3,12 @@ return function()
local defaults = {
sign_priority = 100,
current_line_blame_formatter_opts = {
relative_time = false
current_line_blame_opts = {
virt_text = true,
virt_text_pos = 'eol',
delay = 1000,
ignore_whitespace = false,
virt_text_priority = 100,
},
}

View File

@ -107,9 +107,9 @@ return function()
mapping = mode.cmd(),
sources = sources(
{
{ name = 'cmdline_history', max_item_count = 1 },
{ name = 'cmdline', max_item_count = 10 },
{ name = 'async_path', max_item_count = 2 },
{ name = 'async_path', max_item_count = 5 },
{ name = 'cmdline_history', max_item_count = 2 },
{ name = 'cmdline', max_item_count = 3 },
}
)
})
@ -119,8 +119,8 @@ return function()
sources = sources(
{
{ name = 'cmdline_history', max_item_count = 1 },
{ name = 'cmdline', max_item_count = 10 },
{ name = 'buffer', max_item_count = 2 },
{ name = 'cmdline', max_item_count = 4 },
{ name = 'buffer', max_item_count = 10 },
}
)
})

View File

@ -60,17 +60,18 @@ local plugins = {
},
{ 'akinsho/bufferline.nvim',
as = 'bufferline',
tag = 'v2.*',
tag = 'v4.*',
requires = { 'kyazdani42/nvim-web-devicons' },
config = require 'psoxizsh.plugins.config.bufferline'
},
{ 'lewis6991/gitsigns.nvim',
branch = 'main',
tag = 'v0.9.*',
requires = { 'nvim-lua/plenary.nvim' },
config = require 'psoxizsh.plugins.config.gitsigns'
},
-- LSP / Neovim '$/progress' handler
{ 'j-hui/fidget.nvim',
tag = "v1.*",
config = require 'psoxizsh.plugins.config.fidget'
},