diff options
author | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2023-10-05 18:59:35 +0100 |
---|---|---|
committer | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2023-10-05 19:02:02 +0100 |
commit | 23544e126419753893f48082960796b65e60fc93 (patch) | |
tree | a5e4563270cf30ff9530bf6b65379563c995c7f0 |
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
41 files changed, 805 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..5c40eeb --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# neovim-plugins + +packaging neovim plugins as ebuilds. + +to generate a new plugin, just call `./build.sh <your-github-api-key> skel.ebuild <username/plugin> <plugin name for the portage tree>` + +all plugins are installed in `/usr/share/nvim/site/pack/portage/{start,opt}/`, depending on if the `start` useflag is set or not diff --git a/app-nvim/Comment-nvim/Comment-nvim-9999.ebuild b/app-nvim/Comment-nvim/Comment-nvim-9999.ebuild new file mode 100644 index 0000000..2e77748 --- /dev/null +++ b/app-nvim/Comment-nvim/Comment-nvim-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION=":brain: :muscle: // Smart and powerful comment plugin for neovim. Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more" +HOMEPAGE="https://github.com/numToStr/Comment.nvim" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/numToStr/Comment.nvim" +else + SRC_URI="https://github.com/numToStr/Comment.nvim/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/LuaSnip/LuaSnip-9999.ebuild b/app-nvim/LuaSnip/LuaSnip-9999.ebuild new file mode 100644 index 0000000..74aabb4 --- /dev/null +++ b/app-nvim/LuaSnip/LuaSnip-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="Snippet Engine for Neovim written in Lua." +HOMEPAGE="https://github.com/L3MON4D3/LuaSnip" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/L3MON4D3/LuaSnip" +else + SRC_URI="https://github.com/L3MON4D3/LuaSnip/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/alpha-nvim/alpha-nvim-9999.ebuild b/app-nvim/alpha-nvim/alpha-nvim-9999.ebuild new file mode 100644 index 0000000..5206f5d --- /dev/null +++ b/app-nvim/alpha-nvim/alpha-nvim-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="a lua powered greeter like vim-startify / dashboard-nvim" +HOMEPAGE="https://github.com/goolord/alpha-nvim" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/goolord/alpha-nvim" +else + SRC_URI="https://github.com/goolord/alpha-nvim/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/base46-nvim/base46-nvim-9999.ebuild b/app-nvim/base46-nvim/base46-nvim-9999.ebuild new file mode 100644 index 0000000..d93a1cb --- /dev/null +++ b/app-nvim/base46-nvim/base46-nvim-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="Base46 theme setter for Neovim" +HOMEPAGE="https://github.com/jayden-chan/base46.nvim" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/jayden-chan/base46.nvim" +else + SRC_URI="https://github.com/jayden-chan/base46.nvim/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/cmp-buffer/cmp-buffer-9999.ebuild b/app-nvim/cmp-buffer/cmp-buffer-9999.ebuild new file mode 100644 index 0000000..6b5840b --- /dev/null +++ b/app-nvim/cmp-buffer/cmp-buffer-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="nvim-cmp source for buffer words" +HOMEPAGE="https://github.com/hrsh7th/cmp-buffer" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hrsh7th/cmp-buffer" +else + SRC_URI="https://github.com/hrsh7th/cmp-buffer/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/cmp-cmdline/cmp-cmdline-9999.ebuild b/app-nvim/cmp-cmdline/cmp-cmdline-9999.ebuild new file mode 100644 index 0000000..466d32b --- /dev/null +++ b/app-nvim/cmp-cmdline/cmp-cmdline-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="nvim-cmp source for vim's cmdline" +HOMEPAGE="https://github.com/hrsh7th/cmp-cmdline" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hrsh7th/cmp-cmdline" +else + SRC_URI="https://github.com/hrsh7th/cmp-cmdline/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/cmp-nvim-lsp/cmp-nvim-lsp-9999.ebuild b/app-nvim/cmp-nvim-lsp/cmp-nvim-lsp-9999.ebuild new file mode 100644 index 0000000..88019ac --- /dev/null +++ b/app-nvim/cmp-nvim-lsp/cmp-nvim-lsp-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="nvim-cmp source for neovim builtin LSP client" +HOMEPAGE="https://github.com/hrsh7th/cmp-nvim-lsp" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hrsh7th/cmp-nvim-lsp" +else + SRC_URI="https://github.com/hrsh7th/cmp-nvim-lsp/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/cmp-path/cmp-path-9999.ebuild b/app-nvim/cmp-path/cmp-path-9999.ebuild new file mode 100644 index 0000000..756eba6 --- /dev/null +++ b/app-nvim/cmp-path/cmp-path-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="nvim-cmp source for path" +HOMEPAGE="https://github.com/hrsh7th/cmp-path" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hrsh7th/cmp-path" +else + SRC_URI="https://github.com/hrsh7th/cmp-path/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/cmp_luasnip/cmp_luasnip-9999.ebuild b/app-nvim/cmp_luasnip/cmp_luasnip-9999.ebuild new file mode 100644 index 0000000..743a1c8 --- /dev/null +++ b/app-nvim/cmp_luasnip/cmp_luasnip-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="luasnip completion source for nvim-cmp" +HOMEPAGE="https://github.com/saadparwaiz1/cmp_luasnip" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/saadparwaiz1/cmp_luasnip" +else + SRC_URI="https://github.com/saadparwaiz1/cmp_luasnip/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/formatter-nvim/formatter-nvim-9999.ebuild b/app-nvim/formatter-nvim/formatter-nvim-9999.ebuild new file mode 100644 index 0000000..cddeadd --- /dev/null +++ b/app-nvim/formatter-nvim/formatter-nvim-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="null" +HOMEPAGE="https://github.com/mhartington/formatter.nvim" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mhartington/formatter.nvim" +else + SRC_URI="https://github.com/mhartington/formatter.nvim/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/friendly-snippets/friendly-snippets-9999.ebuild b/app-nvim/friendly-snippets/friendly-snippets-9999.ebuild new file mode 100644 index 0000000..7acc2c5 --- /dev/null +++ b/app-nvim/friendly-snippets/friendly-snippets-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="Set of preconfigured snippets for different languages. " +HOMEPAGE="https://github.com/rafamadriz/friendly-snippets" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/rafamadriz/friendly-snippets" +else + SRC_URI="https://github.com/rafamadriz/friendly-snippets/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/fzf-lua/fzf-lua-9999.ebuild b/app-nvim/fzf-lua/fzf-lua-9999.ebuild new file mode 100644 index 0000000..5457a61 --- /dev/null +++ b/app-nvim/fzf-lua/fzf-lua-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="Improved fzf.vim written in lua" +HOMEPAGE="https://github.com/ibhagwan/fzf-lua" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ibhagwan/fzf-lua" +else + SRC_URI="https://github.com/ibhagwan/fzf-lua/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="AGPL-3.0" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/gitsigns-nvim/gitsigns-nvim-9999.ebuild b/app-nvim/gitsigns-nvim/gitsigns-nvim-9999.ebuild new file mode 100644 index 0000000..5c00a41 --- /dev/null +++ b/app-nvim/gitsigns-nvim/gitsigns-nvim-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="Git integration for buffers" +HOMEPAGE="https://github.com/lewis6991/gitsigns.nvim" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/lewis6991/gitsigns.nvim" +else + SRC_URI="https://github.com/lewis6991/gitsigns.nvim/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/guard-collection/guard-collection-9999.ebuild b/app-nvim/guard-collection/guard-collection-9999.ebuild new file mode 100644 index 0000000..af20b7d --- /dev/null +++ b/app-nvim/guard-collection/guard-collection-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="collection the tools config for guard " +HOMEPAGE="https://github.com/nvimdev/guard-collection" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/nvimdev/guard-collection" +else + SRC_URI="https://github.com/nvimdev/guard-collection/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/guard-nvim/guard-nvim-9999.ebuild b/app-nvim/guard-nvim/guard-nvim-9999.ebuild new file mode 100644 index 0000000..e537129 --- /dev/null +++ b/app-nvim/guard-nvim/guard-nvim-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="async fast minimalist plugin make format easy in neovim" +HOMEPAGE="https://github.com/nvimdev/guard.nvim" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/nvimdev/guard.nvim" +else + SRC_URI="https://github.com/nvimdev/guard.nvim/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/harpoon/harpoon-9999.ebuild b/app-nvim/harpoon/harpoon-9999.ebuild new file mode 100644 index 0000000..12e441a --- /dev/null +++ b/app-nvim/harpoon/harpoon-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="null" +HOMEPAGE="https://github.com/ThePrimeagen/harpoon" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/theprimeagen/harpoon" +else + SRC_URI="https://github.com/theprimeagen/harpoon/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/lualine-nvim/lualine.nvim-9999.ebuild b/app-nvim/lualine-nvim/lualine.nvim-9999.ebuild new file mode 100644 index 0000000..0920eab --- /dev/null +++ b/app-nvim/lualine-nvim/lualine.nvim-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="A blazing fast and easy to configure neovim statusline plugin written in pure lua." +HOMEPAGE="https://github.com/nvim-lualine/lualine.nvim" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/nvim-lualine/lualine.nvim" +else + SRC_URI="https://github.com/nvim-lualine/lualine.nvim/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/mason-nvim/mason-nvim-9999.ebuild b/app-nvim/mason-nvim/mason-nvim-9999.ebuild new file mode 100644 index 0000000..f6f137c --- /dev/null +++ b/app-nvim/mason-nvim/mason-nvim-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters." +HOMEPAGE="https://github.com/williamboman/mason.nvim" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/williamboman/mason.nvim" +else + SRC_URI="https://github.com/williamboman/mason.nvim/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/neodev-nvim/neodev-nvim-9999.ebuild b/app-nvim/neodev-nvim/neodev-nvim-9999.ebuild new file mode 100644 index 0000000..646be8d --- /dev/null +++ b/app-nvim/neodev-nvim/neodev-nvim-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="💻 Neovim setup for init.lua and plugin development with full signature help, docs and completion for the nvim lua API." +HOMEPAGE="https://github.com/folke/neodev.nvim" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/folke/neodev.nvim" +else + SRC_URI="https://github.com/folke/neodev.nvim/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/nightfox-nvim/nightfox-nvim-9999.ebuild b/app-nvim/nightfox-nvim/nightfox-nvim-9999.ebuild new file mode 100644 index 0000000..d7089d1 --- /dev/null +++ b/app-nvim/nightfox-nvim/nightfox-nvim-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="🦊A highly customizable theme for vim and neovim with support for lsp, treesitter and a variety of plugins." +HOMEPAGE="https://github.com/EdenEast/nightfox.nvim" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/EdenEast/nightfox.nvim" +else + SRC_URI="https://github.com/EdenEast/nightfox.nvim/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/nvim-cmp/nvim-cmp-9999.ebuild b/app-nvim/nvim-cmp/nvim-cmp-9999.ebuild new file mode 100644 index 0000000..597d112 --- /dev/null +++ b/app-nvim/nvim-cmp/nvim-cmp-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="A completion plugin for neovim coded in Lua." +HOMEPAGE="https://github.com/hrsh7th/nvim-cmp" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hrsh7th/nvim-cmp" +else + SRC_URI="https://github.com/hrsh7th/nvim-cmp/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/nvim-dap/nvim-dap-9999.ebuild b/app-nvim/nvim-dap/nvim-dap-9999.ebuild new file mode 100644 index 0000000..1c3de67 --- /dev/null +++ b/app-nvim/nvim-dap/nvim-dap-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="Debug Adapter Protocol client implementation for Neovim" +HOMEPAGE="https://github.com/mfussenegger/nvim-dap" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mfussenegger/nvim-dap" +else + SRC_URI="https://github.com/mfussenegger/nvim-dap/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="GPL-3.0" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/nvim-lspconfig/nvim-lspconfig-9999.ebuild b/app-nvim/nvim-lspconfig/nvim-lspconfig-9999.ebuild new file mode 100644 index 0000000..5326fda --- /dev/null +++ b/app-nvim/nvim-lspconfig/nvim-lspconfig-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="Quickstart configs for Nvim LSP" +HOMEPAGE="https://github.com/neovim/nvim-lspconfig" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/neovim/nvim-lspconfig" +else + SRC_URI="https://github.com/neovim/nvim-lspconfig/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/nvim-navic/nvim-navic-9999.ebuild b/app-nvim/nvim-navic/nvim-navic-9999.ebuild new file mode 100644 index 0000000..9b109a6 --- /dev/null +++ b/app-nvim/nvim-navic/nvim-navic-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="Simple winbar/statusline plugin that shows your current code context" +HOMEPAGE="https://github.com/SmiteshP/nvim-navic" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/SmiteshP/nvim-navic" +else + SRC_URI="https://github.com/SmiteshP/nvim-navic/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/nvim-tree-lua/nvim-tree-lua-9999.ebuild b/app-nvim/nvim-tree-lua/nvim-tree-lua-9999.ebuild new file mode 100644 index 0000000..0865290 --- /dev/null +++ b/app-nvim/nvim-tree-lua/nvim-tree-lua-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="A file explorer tree for neovim written in lua" +HOMEPAGE="https://github.com/nvim-tree/nvim-tree.lua" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/nvim-tree/nvim-tree.lua" +else + SRC_URI="https://github.com/nvim-tree/nvim-tree.lua/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="NOASSERTION" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/nvim-treesitter/nvim-treesitter-9999.ebuild b/app-nvim/nvim-treesitter/nvim-treesitter-9999.ebuild new file mode 100644 index 0000000..c0c38fb --- /dev/null +++ b/app-nvim/nvim-treesitter/nvim-treesitter-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="Nvim Treesitter configurations and abstraction layer" +HOMEPAGE="https://github.com/nvim-treesitter/nvim-treesitter" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/nvim-treesitter/nvim-treesitter" +else + SRC_URI="https://github.com/nvim-treesitter/nvim-treesitter/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/nvim-web-devicons/nvim-web-devicons-9999.ebuild b/app-nvim/nvim-web-devicons/nvim-web-devicons-9999.ebuild new file mode 100644 index 0000000..e846780 --- /dev/null +++ b/app-nvim/nvim-web-devicons/nvim-web-devicons-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="lua `fork` of vim-web-devicons for neovim" +HOMEPAGE="https://github.com/nvim-tree/nvim-web-devicons" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/nvim-tree/nvim-web-devicons" +else + SRC_URI="https://github.com/nvim-tree/nvim-web-devicons/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/plenary-nvim/plenary-nvim-9999.ebuild b/app-nvim/plenary-nvim/plenary-nvim-9999.ebuild new file mode 100644 index 0000000..3944e85 --- /dev/null +++ b/app-nvim/plenary-nvim/plenary-nvim-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="plenary: full; complete; entire; absolute; unqualified. All the lua functions I don't want to write twice." +HOMEPAGE="https://github.com/nvim-lua/plenary.nvim" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/nvim-lua/plenary.nvim" +else + SRC_URI="https://github.com/nvim-lua/plenary.nvim/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/rose-pine/rose-pine-9999.ebuild b/app-nvim/rose-pine/rose-pine-9999.ebuild new file mode 100644 index 0000000..b1f748f --- /dev/null +++ b/app-nvim/rose-pine/rose-pine-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="Soho vibes for Neovim" +HOMEPAGE="https://github.com/rose-pine/neovim" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/rose-pine/neovim" +else + SRC_URI="https://github.com/rose-pine/neovim/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/rust-tools/rust-tools-9999.ebuild b/app-nvim/rust-tools/rust-tools-9999.ebuild new file mode 100644 index 0000000..2778330 --- /dev/null +++ b/app-nvim/rust-tools/rust-tools-9999.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +inherit neovim-plugin + +DESCRIPTION="Tools for better development in rust using neovim's builtin lsp" +HOMEPAGE="https://github.com/simrat39/rust-tools.nvim" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/simrat39/rust-tools.nvim" +else + SRC_URI="https://github.com/simrat39/rust-tools.nvim/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/undotree/undotree-9999.ebuild b/app-nvim/undotree/undotree-9999.ebuild new file mode 100644 index 0000000..a3108ff --- /dev/null +++ b/app-nvim/undotree/undotree-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="The undo history visualizer for VIM" +HOMEPAGE="https://github.com/mbbill/undotree" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mbbill/undotree" +else + SRC_URI="https://github.com/mbbill/undotree/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="null" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/app-nvim/vimtex/vimtex-9999.ebuild b/app-nvim/vimtex/vimtex-9999.ebuild new file mode 100644 index 0000000..175525c --- /dev/null +++ b/app-nvim/vimtex/vimtex-9999.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + + +inherit neovim-plugin + +DESCRIPTION="VimTeX: A modern Vim and neovim filetype plugin for LaTeX files." +HOMEPAGE="https://github.com/lervag/vimtex" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/lervag/vimtex" +else + SRC_URI="https://github.com/lervag/vimtex/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..c03ee96 --- /dev/null +++ b/build.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +api_key="${1}" +skel="${2}" +plugin="${3}" +name="${4:=${3#*/}}" + +if ! [[ -e ${skel} ]] + || [[ -z ${api_key} ]] + || [[ -z ${plugin} ]]; then + >&2 echo "usage: ${0} <github api key> <skel file> <nvim/package> <plugin name>" + exit -1 +fi + +echo "generating app-nvim/${name}" + +repo_info=$(curl -L \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${api_key}" \ + https://api.github.com/repos/${plugin} 2>/dev/null) + +src=https://github.com/${plugin} +desc=$(jq -r .description <<< ${repo_info}) +license=$(jq -r .license.spdx_id <<< ${repo_info}) +url=$(jq -r .html_url <<< ${repo_info}) + +mkdir -p app-nvim/${name} +sed -e "s#@DESCRIPTION@#${desc}#" \ + -e "s#@URI@#${url}#" \ + -e "s#@SRC@#${src}#" \ + -e "s#@LICENSE@#${license}#" \ + -e "s#@PLUGIN@#${plugin}#" \ + ${skel} > app-nvim/${name}/${name}-9999.ebuild diff --git a/eclass/neovim-plugin.eclass b/eclass/neovim-plugin.eclass new file mode 100644 index 0000000..6e12078 --- /dev/null +++ b/eclass/neovim-plugin.eclass @@ -0,0 +1,35 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# @ECLASS: neovim-plugin.eclass +# @MAINTAINER: +# navi@vlhl.dev +# @SUPPORTED_EAPIS: 8 +# @BLURB: used for installing neovim plugins + +case ${EAPI} in + 8) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; +esac + +if [[ -z ${_NEOVIM_PLUGIN_ECLASS} ]]; then +_NEOVIM_PLUGIN_ECLASS=1 + +DEPEND+=" app-editors/neovim" +IUSE+=" start" + +NEOVIM_PACK="${EPREFIX}/usr/share/nvim/site/portage" + +# @FUNCTION: neovim-plugin_src-install +# @DESCRIPTION: installs the plugin into the runtime +# folder, in a path visible to packadd +neovim-plugin_src_install() { + insinto "${NEOVIM_PACK}/$(usex start start opt)/${PN}" + doins -r * +} + +neovim-plugin_src_compile() { :; } + +fi + +EXPORT_FUNCTIONS src_compile src_install diff --git a/metadata/layout.conf b/metadata/layout.conf new file mode 100644 index 0000000..20fcfea --- /dev/null +++ b/metadata/layout.conf @@ -0,0 +1,3 @@ +masters = gentoo +thin-manifests = true +sign-manifests = false diff --git a/packages b/packages new file mode 100644 index 0000000..805bc7f --- /dev/null +++ b/packages @@ -0,0 +1,33 @@ +EdenEast/nightfox.nvim +L3MON4D3/LuaSnip +SmiteshP/nvim-navic +folke/neodev.nvim +goolord/alpha-nvim +hrsh7th/cmp-buffer +hrsh7th/cmp-cmdline +hrsh7th/cmp-nvim-lsp +hrsh7th/cmp-path +hrsh7th/nvim-cmp +ibhagwan/fzf-lua +jayden-chan/base46.nvim +kyazdani42/nvim-web-devicons +lervag/vimtex +lewis6991/gitsigns.nvim +mbbill/undotree +mfussenegger/nvim-dap +mhartington/formatter.nvim +neovim/nvim-lspconfig +numToStr/Comment.nvim +nvim-lua/plenary.nvim +nvim-lualine/lualine.nvim +nvim-tree/nvim-tree.lua +nvim-tree/nvim-web-devicons +nvim-treesitter/nvim-treesitter +nvimdev/guard-collection +nvimdev/guard.nvim +rafamadriz/friendly-snippets +rose-pine/neovim +saadparwaiz1/cmp_luasnip +simrat39/rust-tools.nvim +theprimeagen/harpoon +williamboman/mason.nvim diff --git a/profiles/categories b/profiles/categories new file mode 100644 index 0000000..be07c14 --- /dev/null +++ b/profiles/categories @@ -0,0 +1 @@ +app-nvim diff --git a/profiles/repo_name b/profiles/repo_name new file mode 100644 index 0000000..21c3699 --- /dev/null +++ b/profiles/repo_name @@ -0,0 +1 @@ +nvim-plugins diff --git a/profiles/use.desc b/profiles/use.desc new file mode 100644 index 0000000..16595c4 --- /dev/null +++ b/profiles/use.desc @@ -0,0 +1 @@ +start - Autostart plugin upon neovim launch diff --git a/skel.ebuild b/skel.ebuild new file mode 100644 index 0000000..f71ff8c --- /dev/null +++ b/skel.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +inherit neovim-plugin + +DESCRIPTION="@DESCRIPTION@" +HOMEPAGE="@URI@" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="@SRC@" +else + SRC_URI="https://github.com/@PLUGIN@/archive/refs/tags/v${PV}.tar.gz" +fi + +LICENSE="@LICENSE@" +SLOT="0" + +KEYWORDS="~amd64" |