feat(integration): add colorful-winsep.nvim (#701)

This commit is contained in:
nkakouros 2024-05-04 06:32:45 +02:00 committed by GitHub
parent a1439ad7c5
commit 30481d659b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 44 additions and 0 deletions

View file

@ -458,6 +458,23 @@ native_lsp = {
</tr>
<!-- coc.nvim -->
<!-- colorful-winsep.nvim -->
</tr>
<tr>
<td> <a href="https://github.com/nvim-zh/colorful-winsep.nvim">colorful-winsep.nvim</a>
</td>
<td>
```lua
colorful_winsep = {
enabled = false,
color = "red",
}
```
</td>
</tr>
<!-- colorful_winsep.nvim -->
<!-- dashboard-nvim -->
</tr>
<tr>

View file

@ -343,6 +343,13 @@ coc.nvim>lua
coc_nvim = false
<
colorful-winsep>lua
colorful_winsep = {
enabled = false,
color = 'red' -- a catpuccin color to use for the window separator
},
<
Special ~
Setting `enabled` to `true` enables this integration.

View file

@ -0,0 +1,9 @@
local M = {}
function M.get()
return {
NvimSeparator = { bg = C.base, fg = C[O.integrations.colorful_winsep.color] },
}
end
return M

View file

@ -96,6 +96,10 @@ local M = {
enabled = true,
color_mode = false,
},
colorful_winsep = {
enabled = false,
color = "red",
},
},
color_overrides = {},
highlight_overrides = {},

View file

@ -118,6 +118,7 @@
---```
---@field barbecue CtpIntegrationBarbecue | boolean?
---@field beacon boolean?
---@field colorful_winsep CtpIntegrationColorfulWinsep | boolean?
---@field cmp boolean?
-- `coc.nvim` links to `native_lsp` highlight groups, so you can use
-- `native_lsp.virtual_text` and `native_lsp.underlines` to style diagnostics.
@ -210,6 +211,12 @@
-- Whether the directory name should be dimmed.
---@field dim_dirname boolean?
---@class CtpIntegrationColorfulWinsep
-- Whether to enable the colorful-winsep integration.
---@field enabled boolean
-- Set to a Catppuccin color name to use for the split separator.
---@field color CtpColor?
---@class CtpIntegrationDropbar
-- Whether to enable the dropbar integration.
---@field enabled boolean