diff --git a/README.md b/README.md index f6dfed11..8d92c8b2 100644 --- a/README.md +++ b/README.md @@ -317,14 +317,15 @@ Below is a list of supported plugins and their corresponding integration module. | Plugin | Module | | ------------------------------------------------------------------------------------- | ------------------- | -| [alpha-vim](https://github.com/goolord/alpha-nvim) | alpha | | [aerial.nvim](https://github.com/stevearc/aerial.nvim) | aerial | +| [alpha-vim](https://github.com/goolord/alpha-nvim) | alpha | | [barbar.nvim](https://github.com/romgrk/barbar.nvim) | barbar | | [barbecue.nvim](https://github.com/utilyre/barbecue.nvim) | barbecue, Special | | [beacon.nvim](https://github.com/DanilaMihailov/beacon.nvim) | beacon | | [bufferline.nvim](https://github.com/akinsho/bufferline.nvim) | Special | | [coc.nvim](https://github.com/neoclide/coc.nvim) | coc_nvim, Special | | [dashboard-nvim](https://github.com/glepnir/dashboard-nvim) | dashboard | +| [dropbar.nvim](https://github.com/Bekaboo/dropbar.nvim) | dropbar, Special | | [feline.nvim](https://github.com/feline-nvim/feline.nvim/) | Special | | [fern.vim](https://github.com/lambdalisue/fern.vim) | fern | | [fidget.nvim](https://github.com/j-hui/fidget.nvim) | Special | @@ -355,8 +356,8 @@ Below is a list of supported plugins and their corresponding integration module. | [nvim-tree.lua](https://github.com/kyazdani42/nvim-tree.lua) | nvimtree | | [nvim-treesitter-context](https://github.com/nvim-treesitter/nvim-treesitter-context) | treesitter_context | | [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter) | treesitter | -| [nvim-ts-rainbow](https://github.com/p00f/nvim-ts-rainbow) | ts_rainbow | | [nvim-ts-rainbow2](https://github.com/HiPhish/nvim-ts-rainbow2) | ts_rainbow2 | +| [nvim-ts-rainbow](https://github.com/p00f/nvim-ts-rainbow) | ts_rainbow | | [octo.nvim](https://github.com/pwntester/octo.nvim) | octo | | [overseer.nvim](https://github.com/stevearc/overseer.nvim) | overseer | | [pounce.nvim](https://github.com/rlane/pounce.nvim) | pounce | @@ -569,6 +570,19 @@ native_lsp = { }, ``` +
dropbar.nvim + +Setting `enabled` to `true` to enable this integration. `color_mode` to `true` will highlight kind's text instead of just kind's icon + +```lua +dropbar = { + enabled = false, + color_mode = false, +}, +``` + +
+
feline.nvim diff --git a/doc/catppuccin.txt b/doc/catppuccin.txt index ffe89128..679e269b 100644 --- a/doc/catppuccin.txt +++ b/doc/catppuccin.txt @@ -348,10 +348,10 @@ module. (See Special integrations ------------------------------------------------------------------------------- Plugin Module ---------------------------------------------------------- -------------------- - alpha-vim alpha - aerial.nvim aerial + alpha-vim alpha + barbar.nvim barbar barbecue.nvim barbecue, Special @@ -364,6 +364,8 @@ module. (See Special integrations dashboard-nvim dashboard + dropbar.nvim dropbar, Special + feline.nvim Special fern.vim fern @@ -424,10 +426,10 @@ module. (See Special integrations nvim-treesitter treesitter - nvim-ts-rainbow ts_rainbow - nvim-ts-rainbow2 ts_rainbow2 + nvim-ts-rainbow ts_rainbow + octo.nvim octo overseer.nvim overseer @@ -659,6 +661,18 @@ directly at the thing (e.g. an error)). }, < +dropbar.nvim ~ + +Setting `enabled` to `true` to enable this integration. `color_mode` to `true` +will highlight kind’s text instead of just kind’s icon + +>lua + dropbar = { + enabled = false, + color_mode = false, + }, +< + feline.nvim ~ Update your Feline config to use the Catppuccin components: diff --git a/lua/catppuccin/groups/integrations/dropbar.lua b/lua/catppuccin/groups/integrations/dropbar.lua new file mode 100644 index 00000000..4d769490 --- /dev/null +++ b/lua/catppuccin/groups/integrations/dropbar.lua @@ -0,0 +1,66 @@ +local M = {} + +function M.get() + local color = O.integrations.dropbar.color_mode + return { + DropBarIconUISeparator = { fg = C.overlay1 }, + DropBarKindArray = color and { link = "DropBarIconKindArray" } or { fg = C.text }, + DropBarKindBoolean = color and { link = "DropBarIconKindBoolean" } or { fg = C.text }, + DropBarKindBreakStatement = color and { link = "DropBarIconKindBreakStatement" } or { fg = C.text }, + DropBarKindCall = color and { link = "DropBarIconKindCall" } or { fg = C.text }, + DropBarKindCaseStatement = color and { link = "DropBarIconKindCaseStatement" } or { fg = C.text }, + DropBarKindClass = color and { link = "DropBarIconKindClass" } or { fg = C.text }, + DropBarKindConstant = color and { link = "DropBarIconKindConstant" } or { fg = C.text }, + DropBarKindConstructor = color and { link = "DropBarIconKindConstructor" } or { fg = C.text }, + DropBarKindContinueStatement = color and { link = "DropBarIconKindContinueStatement" } or { fg = C.text }, + DropBarKindDeclaration = color and { link = "DropBarIconKindDeclaration" } or { fg = C.text }, + DropBarKindDelete = color and { link = "DropBarIconKindDelete" } or { fg = C.text }, + DropBarKindDoStatement = color and { link = "DropBarIconKindDoStatement" } or { fg = C.text }, + DropBarKindElseStatement = color and { link = "DropBarIconKindElseStatement" } or { fg = C.text }, + DropBarKindEnum = color and { link = "DropBarIconKindEnum" } or { fg = C.text }, + DropBarKindEnumMember = color and { link = "DropBarIconKindEnumMember" } or { fg = C.text }, + DropBarKindEvent = color and { link = "DropBarIconKindEvent" } or { fg = C.text }, + DropBarKindField = color and { link = "DropBarIconKindField" } or { fg = C.text }, + DropBarKindFile = color and { link = "DropBarIconKindFile" } or { fg = C.text }, + DropBarKindFolder = color and { link = "DropBarIconKindFolder" } or { fg = C.text }, + DropBarKindForStatement = color and { link = "DropBarIconKindForStatement" } or { fg = C.text }, + DropBarKindFunction = color and { link = "DropBarIconKindFunction" } or { fg = C.text }, + DropBarKindIdentifier = color and { link = "DropBarIconKindIdentifier" } or { fg = C.text }, + DropBarKindIfStatement = color and { link = "DropBarIconKindIfStatement" } or { fg = C.text }, + DropBarKindInterface = color and { link = "DropBarIconKindInterface" } or { fg = C.text }, + DropBarKindKeyword = color and { link = "DropBarKindIconKeyword" } or { fg = C.text }, + DropBarKindList = color and { link = "DropBarIconKindList" } or { fg = C.text }, + DropBarKindMacro = color and { link = "DropBarIconKindMacro" } or { fg = C.text }, + DropBarKindMarkdownH1 = color and { link = "DropBarIconKindMarkdownH1" } or { fg = C.text }, + DropBarKindMarkdownH2 = color and { link = "DropBarIconKindMarkdownH2" } or { fg = C.text }, + DropBarKindMarkdownH3 = color and { link = "DropBarIconKindMarkdownH3" } or { fg = C.text }, + DropBarKindMarkdownH4 = color and { link = "DropBarIconKindMarkdownH4" } or { fg = C.text }, + DropBarKindMarkdownH5 = color and { link = "DropBarIconKindMarkdownH5" } or { fg = C.text }, + DropBarKindMarkdownH6 = color and { link = "DropBarIconKindMarkdownH6" } or { fg = C.text }, + DropBarKindMethod = color and { link = "DropBarIconKindMethod" } or { fg = C.text }, + DropBarKindModule = color and { link = "DropBarIconKindModule" } or { fg = C.text }, + DropBarKindNamespace = color and { link = "DropBarIconKindNamespace" } or { fg = C.text }, + DropBarKindNull = color and { link = "DropBarIconKindNull" } or { fg = C.text }, + DropBarKindNumber = color and { link = "DropBarIconKindNumber" } or { fg = C.text }, + DropBarKindObject = color and { link = "DropBarIconKindObject" } or { fg = C.text }, + DropBarKindOperator = color and { link = "DropBarIconKindOperator" } or { fg = C.text }, + DropBarKindPackage = color and { link = "DropBarIconKindPackage" } or { fg = C.text }, + DropBarKindProperty = color and { link = "DropBarIconKindProperty" } or { fg = C.text }, + DropBarKindReference = color and { link = "DropBarIconKindReference" } or { fg = C.text }, + DropBarKindRepeat = color and { link = "DropBarIconKindRepeat" } or { fg = C.text }, + DropBarKindScope = color and { link = "DropBarIconKindScope" } or { fg = C.text }, + DropBarKindSpecifier = color and { link = "DropBarIconKindSpecifier" } or { fg = C.text }, + DropBarKindStatement = color and { link = "DropBarIconKindStatement" } or { fg = C.text }, + DropBarKindString = color and { link = "DropBarIconKindString" } or { fg = C.text }, + DropBarKindStruct = color and { link = "DropBarIconKindStruct" } or { fg = C.text }, + DropBarKindSwitchStatement = color and { link = "DropBarIconKindSwitchStatement" } or { fg = C.text }, + DropBarKindType = color and { link = "DropBarIconKindType" } or { fg = C.text }, + DropBarKindTypeParameter = color and { link = "DropBarIconKindTypeParameter" } or { fg = C.text }, + DropBarKindUnit = color and { link = "DropBarIconKindUnit" } or { fg = C.text }, + DropBarKindValue = color and { link = "DropBarIconKindValue" } or { fg = C.text }, + DropBarKindVariable = color and { link = "DropBarIconKindVariable" } or { fg = C.text }, + DropBarKindWhileStatement = color and { link = "DropBarIconKindWhileStatement" } or { fg = C.text }, + } +end + +return M diff --git a/lua/catppuccin/groups/syntax.lua b/lua/catppuccin/groups/syntax.lua index ffc6bc59..96429237 100644 --- a/lua/catppuccin/groups/syntax.lua +++ b/lua/catppuccin/groups/syntax.lua @@ -18,6 +18,7 @@ function M.get() Label = { fg = C.sapphire }, -- case, default, etc. Operator = { fg = C.sky, style = O.styles.operators or {} }, -- "sizeof", "+", "*", etc. Keyword = { fg = C.mauve, style = O.styles.keywords or {} }, -- any other keyword + Array = { fg = C.lavender }, -- Exception = { }, -- try, catch, throw PreProc = { fg = C.pink }, -- (preferred) generic Preprocessor diff --git a/lua/catppuccin/init.lua b/lua/catppuccin/init.lua index ab33d703..c0f85960 100644 --- a/lua/catppuccin/init.lua +++ b/lua/catppuccin/init.lua @@ -75,6 +75,10 @@ local M = { enabled = false, custom_bg = "NONE", }, + dropbar = { + enabled = false, + color_mode = false, + }, }, color_overrides = {}, highlight_overrides = {}, diff --git a/vim.yml b/vim.yml index 6993fe9f..b5e3ea51 100644 --- a/vim.yml +++ b/vim.yml @@ -297,6 +297,16 @@ globals: type: string property: read-only + O.integrations.dropbar: + type: table + property: read-only + O.integrations.dropbar.enabled: + type: bool + property: read-only + O.integrations.dropbar.color_mode: + type: bool + property: read-only + O.color_overrides: type: table property: read-only