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,140 +1,141 @@
return require("packer").startup(function() return require("packer").startup({
-- Plugin manager function()
use("wbthomason/packer.nvim") -- Plugin manager
use("wbthomason/packer.nvim")
-- Themes -- Themes
use("olimorris/onedarkpro.nvim") use("olimorris/onedarkpro.nvim")
-- Gitsigns -- Gitsigns
use({ use({
"lewis6991/gitsigns.nvim", "lewis6991/gitsigns.nvim",
requires = { requires = {
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
}, },
}) })
-- Diffview
use({
"sindrets/diffview.nvim",
requires = {
"nvim-lua/plenary.nvim",
},
})
-- Telescope -- Telescope
use({ use({
"nvim-telescope/telescope.nvim", "nvim-telescope/telescope.nvim",
requires = { requires = {
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
}, },
}) })
-- --
use({ use({
"nvim-telescope/telescope-fzf-native.nvim", "nvim-telescope/telescope-fzf-native.nvim",
run = "make", run = "make",
}) })
-- File tree -- File tree
use({ use({
"nvim-neo-tree/neo-tree.nvim", "nvim-neo-tree/neo-tree.nvim",
requires = { requires = {
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
"kyazdani42/nvim-web-devicons", "kyazdani42/nvim-web-devicons",
"MunifTanjim/nui.nvim", "MunifTanjim/nui.nvim",
}, },
}) })
-- Status line -- Status line
use({ use({
"nvim-lualine/lualine.nvim", "nvim-lualine/lualine.nvim",
requires = { requires = {
"kyazdani42/nvim-web-devicons", "kyazdani42/nvim-web-devicons",
}, },
}) })
-- Buffer line -- Buffer line
use({ use({
"akinsho/bufferline.nvim", "akinsho/bufferline.nvim",
requires = { requires = {
"kyazdani42/nvim-web-devicons", "kyazdani42/nvim-web-devicons",
}, },
}) })
-- Show indentation -- Show indentation
use("lukas-reineke/indent-blankline.nvim") use("lukas-reineke/indent-blankline.nvim")
-- Comment -- Comment
use({ use({
"numToStr/Comment.nvim", "numToStr/Comment.nvim",
}) })
-- Todo-comment -- Todo-comment
use({ use({
"AmeerTaweel/todo.nvim", "AmeerTaweel/todo.nvim",
requires = { requires = {
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
}, },
}) })
-- hlslens -- hlslens
use("kevinhwang91/nvim-hlslens") use("kevinhwang91/nvim-hlslens")
-- Treesitter -- Treesitter
use({ use({
"nvim-treesitter/nvim-treesitter",
run = ":TSUpdate",
})
-- GPS
use({
"SmiteshP/nvim-gps",
requires = {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
run = ":TSUpdate",
})
-- GPS
use({
"SmiteshP/nvim-gps",
requires = {
"nvim-treesitter/nvim-treesitter",
},
})
-- Rainbow parentheses
use({
"p00f/nvim-ts-rainbow",
requires = {
"nvim-treesitter/nvim-treesitter",
},
})
-- Cutlass
use("gbprod/cutlass.nvim")
-- Focus
use("beauwilliams/focus.nvim")
-- Notifications
use("rcarriga/nvim-notify")
-- null-ls
use({
"jose-elias-alvarez/null-ls.nvim",
requires = {
"nvim-lua/plenary.nvim",
},
})
-- LSP config
use("neovim/nvim-lspconfig")
-- Signature
use("ray-x/lsp_signature.nvim")
-- Autocompletion
use("hrsh7th/nvim-cmp")
-- Sources
-- LSP
use("hrsh7th/cmp-nvim-lsp")
-- Snippets
use("L3MON4D3/LuaSnip")
use("saadparwaiz1/cmp_luasnip")
-- Buffer
use("hrsh7th/cmp-buffer")
-- Path
use("hrsh7th/cmp-path")
-- cmdline
use("hrsh7th/cmp-cmdline")
end,
config = {
display = {
open_fn = function()
return require("packer.util").float({
border = "single",
})
end,
}, },
}) },
-- Rainbow parentheses })
use({
"p00f/nvim-ts-rainbow",
requires = {
"nvim-treesitter/nvim-treesitter",
},
})
-- Cutlass
use("gbprod/cutlass.nvim")
-- Focus
use("beauwilliams/focus.nvim")
-- Smooth scrolling
use("karb94/neoscroll.nvim")
-- Notifications
use("rcarriga/nvim-notify")
-- null-ls
use({
"jose-elias-alvarez/null-ls.nvim",
requires = {
"nvim-lua/plenary.nvim",
},
})
-- LSP config
use("neovim/nvim-lspconfig")
-- Signature
use("ray-x/lsp_signature.nvim")
-- Autocompletion
use("hrsh7th/nvim-cmp")
-- Sources
-- LSP
use("hrsh7th/cmp-nvim-lsp")
-- Snippets
use("L3MON4D3/LuaSnip")
use("saadparwaiz1/cmp_luasnip")
-- Buffer
use("hrsh7th/cmp-buffer")
-- Path
use("hrsh7th/cmp-path")
-- cmdline
use("hrsh7th/cmp-cmdline")
end)