Skip to content

Commit

Permalink
fix(catppuccin): set name to "catppuccin" (#976)
Browse files Browse the repository at this point in the history
* fix(catppuccin): set name to "catppuccin"

i tried installing hop as astrocommunity package, and in the repo i saw that it had code that supposedly should automatically enable integration for hop in catppuccin theme. yet that didnt work for some reason, and so i just enabled it manually. and today after thinking about it and 10 minutes of experimenting i figured it out. to fix this, all you have to do is set `name = "catppuccin"`, then its going to work. i just took hop as an example, but its with every single astrocommunity package i tried. like mini-clue or trouble and so on.

* fix(catppuccin): set name to "catppuccin"

i tried installing hop as astrocommunity package, and in the repo i saw that it had code that supposedly should automatically enable integration for hop in catppuccin theme. yet that didnt work for some reason, and so i just enabled it manually. and today after thinking about it and 10 minutes of experimenting i figured it out. to fix this, all you have to do is set `name = "catppuccin"`, then its going to work. i just took hop as an example, but its with every single astrocommunity package i tried. like mini-clue or trouble and so on.

* fix(catppuccin): use "catppuccin" instead of repo.

previously i was setting `name = "catppuccin"` but as mehalter requested should just use "catppuccin" as the plugin name directly, instead of the repo

---------

Co-authored-by: amandin <123622161+amawdiin@users.noreply.github.com>
  • Loading branch information
amqndin and amqndin committed May 20, 2024
1 parent 33d4209 commit e8ee25f
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion lua/astrocommunity/bars-and-lines/dropbar-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ return {
opts = function(_, opts) opts.winbar = nil end,
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { dropbar = { enabled = true } } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/bars-and-lines/vim-illuminate/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ return {
config = function(_, opts) require("illuminate").configure(opts) end,
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { illuminate = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/code-runner/overseer-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ return {
},
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { overseer = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/color/headlines-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ return {
opts = {},
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { headlines = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/color/mini-hipatterns/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ return {
opts = {},
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { mini = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/colorscheme/mini-base16/init.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
return {
"echasnovski/mini.base16",
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { mini = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/comment/mini-comment/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ return {
},
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { mini = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/diagnostics/trouble-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ return {
end,
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { lsp_trouble = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/editing-support/mini-splitjoin/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ return {
opts = {},
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { mini = true } },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ return {
opts = { rainbow = { enable = true } },
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { ts_rainbow2 = true } },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ return {
main = "rainbow-delimiters.setup",
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { rainbow_delimiters = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/file-explorer/mini-files/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ return {
opts = {},
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { mini = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/git/neogit/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ return {
end,
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { neogit = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/git/octo-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ return {
},
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { octo = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/indent/mini-indentscope/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ return {
},
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { mini = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/lsp/coc-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ return {
end,
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { coc_nvim = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/motion/harpoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ return {
},
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { harpoon = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/motion/hop-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ return {
},
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { hop = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/motion/leap-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ return {
opts = {},
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { leap = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/motion/mini-ai/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ return {
opts = {},
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { mini = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/motion/mini-basics/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ return {
},
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { mini = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/motion/mini-bracketed/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ return {
opts = {},
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { mini = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/motion/mini-move/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ return {
},
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { mini = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/motion/mini-surround/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ return {
},
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { mini = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/scrolling/mini-animate/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ return {
end,
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { mini = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/split-and-window/mini-map/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ return {
end,
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { mini = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/syntax/vim-sandwich/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ return {
},
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { sandwich = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/test/neotest/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ return {
end,
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { neotest = true } },
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/utility/noice-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ return {
end,
},
{
"catppuccin/nvim",
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { noice = true } },
Expand Down

0 comments on commit e8ee25f

Please sign in to comment.