1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-30 19:53:45 +00:00

Packer in floating window

This commit is contained in:
Mo 2022-05-04 22:49:48 +02:00
parent 07979773e1
commit 4603fb09d8

View file

@ -1,4 +1,5 @@
return require("packer").startup(function()
return require("packer").startup({
function()
-- Plugin manager
use("wbthomason/packer.nvim")
@ -12,13 +13,6 @@ return require("packer").startup(function()
"nvim-lua/plenary.nvim",
},
})
-- Diffview
use({
"sindrets/diffview.nvim",
requires = {
"nvim-lua/plenary.nvim",
},
})
-- Telescope
use({
@ -104,9 +98,6 @@ return require("packer").startup(function()
-- Focus
use("beauwilliams/focus.nvim")
-- Smooth scrolling
use("karb94/neoscroll.nvim")
-- Notifications
use("rcarriga/nvim-notify")
@ -137,4 +128,14 @@ return require("packer").startup(function()
use("hrsh7th/cmp-path")
-- cmdline
use("hrsh7th/cmp-cmdline")
end)
end,
config = {
display = {
open_fn = function()
return require("packer.util").float({
border = "single",
})
end,
},
},
})