mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-13 11:32:58 +01:00
update nvim stuff
This commit is contained in:
parent
e4b92a679d
commit
4e34c376b1
3 changed files with 28 additions and 0 deletions
19
.config/fish/functions/update_nvim_plugins.fish
Normal file
19
.config/fish/functions/update_nvim_plugins.fish
Normal 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
|
|
@ -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, _)
|
||||
|
|
|
@ -4,4 +4,9 @@ fidget.setup {
|
|||
text = {
|
||||
spinner = "zip",
|
||||
},
|
||||
window = {
|
||||
zindex = 250,
|
||||
},
|
||||
}
|
||||
|
||||
vim.cmd [[highlight! link FidgetText DraculaFg]]
|
||||
|
|
Loading…
Reference in a new issue