update nvim stuff

This commit is contained in:
LordMZTE 2023-01-18 17:22:05 +01:00
parent e4b92a679d
commit 4e34c376b1
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6
3 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,19 @@
# This function updates neovim plugins.
# This is more or less just a workaround until packer can support my exotic setup.
function update_nvim_plugins
set prevdir (pwd)
set packdir ~/.local/share/nvim/site/pack/packer/
cd $packdir
for d in (fd '\.git$' --hidden --type directory)
cd $d/..
# reset is needed because of compiled lua files
git reset --hard HEAD
git pull
cd $packdir
end
cd $prevdir
end

View file

@ -35,6 +35,10 @@ jdtls.start_or_attach {
init_options = {
bundles = bundle_info.bundles,
extendedClientCapabilities = {
-- better progress indication in fidget.nvim
progressReportProvider = false,
},
},
on_attach = function(client, _)

View file

@ -4,4 +4,9 @@ fidget.setup {
text = {
spinner = "zip",
},
window = {
zindex = 250,
},
}
vim.cmd [[highlight! link FidgetText DraculaFg]]