mirror of
https://github.com/catppuccin/nvim
synced 2024-09-16 13:24:08 +02:00
feat(integration): add colorful-winsep.nvim (#701)
This commit is contained in:
parent
a1439ad7c5
commit
30481d659b
5 changed files with 44 additions and 0 deletions
17
README.md
17
README.md
|
@ -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>
|
||||
|
|
|
@ -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.
|
||||
|
|
9
lua/catppuccin/groups/integrations/colorful_winsep.lua
Normal file
9
lua/catppuccin/groups/integrations/colorful_winsep.lua
Normal 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
|
|
@ -96,6 +96,10 @@ local M = {
|
|||
enabled = true,
|
||||
color_mode = false,
|
||||
},
|
||||
colorful_winsep = {
|
||||
enabled = false,
|
||||
color = "red",
|
||||
},
|
||||
},
|
||||
color_overrides = {},
|
||||
highlight_overrides = {},
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue