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

View file

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

View file

@ -3,8 +3,12 @@ return function()
local defaults = { local defaults = {
sign_priority = 100, sign_priority = 100,
current_line_blame_formatter_opts = { current_line_blame_opts = {
relative_time = false 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(), mapping = mode.cmd(),
sources = sources( sources = sources(
{ {
{ name = 'cmdline_history', max_item_count = 1 }, { name = 'async_path', max_item_count = 5 },
{ name = 'cmdline', max_item_count = 10 }, { name = 'cmdline_history', max_item_count = 2 },
{ name = 'async_path', max_item_count = 2 }, { name = 'cmdline', max_item_count = 3 },
} }
) )
}) })
@ -119,8 +119,8 @@ return function()
sources = sources( sources = sources(
{ {
{ name = 'cmdline_history', max_item_count = 1 }, { name = 'cmdline_history', max_item_count = 1 },
{ name = 'cmdline', max_item_count = 10 }, { name = 'cmdline', max_item_count = 4 },
{ name = 'buffer', max_item_count = 2 }, { name = 'buffer', max_item_count = 10 },
} }
) )
}) })

View file

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