mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2025-01-01 15:39:20 +00:00
Packer in floating window
This commit is contained in:
parent
07979773e1
commit
4603fb09d8
1 changed files with 128 additions and 127 deletions
|
@ -1,4 +1,5 @@
|
||||||
return require("packer").startup(function()
|
return require("packer").startup({
|
||||||
|
function()
|
||||||
-- Plugin manager
|
-- Plugin manager
|
||||||
use("wbthomason/packer.nvim")
|
use("wbthomason/packer.nvim")
|
||||||
|
|
||||||
|
@ -12,13 +13,6 @@ return require("packer").startup(function()
|
||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
-- Diffview
|
|
||||||
use({
|
|
||||||
"sindrets/diffview.nvim",
|
|
||||||
requires = {
|
|
||||||
"nvim-lua/plenary.nvim",
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
-- Telescope
|
-- Telescope
|
||||||
use({
|
use({
|
||||||
|
@ -104,9 +98,6 @@ return require("packer").startup(function()
|
||||||
-- Focus
|
-- Focus
|
||||||
use("beauwilliams/focus.nvim")
|
use("beauwilliams/focus.nvim")
|
||||||
|
|
||||||
-- Smooth scrolling
|
|
||||||
use("karb94/neoscroll.nvim")
|
|
||||||
|
|
||||||
-- Notifications
|
-- Notifications
|
||||||
use("rcarriga/nvim-notify")
|
use("rcarriga/nvim-notify")
|
||||||
|
|
||||||
|
@ -137,4 +128,14 @@ return require("packer").startup(function()
|
||||||
use("hrsh7th/cmp-path")
|
use("hrsh7th/cmp-path")
|
||||||
-- cmdline
|
-- cmdline
|
||||||
use("hrsh7th/cmp-cmdline")
|
use("hrsh7th/cmp-cmdline")
|
||||||
end)
|
end,
|
||||||
|
config = {
|
||||||
|
display = {
|
||||||
|
open_fn = function()
|
||||||
|
return require("packer.util").float({
|
||||||
|
border = "single",
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
Loading…
Reference in a new issue