mirror of
https://github.com/catppuccin/nvim
synced 2024-09-16 13:24:08 +02:00
feat: add vim-dadbod-ui integration (#747)
* Add dadbod-ui * Address review cmts * Address second review cmt
This commit is contained in:
parent
548b2a2541
commit
4db4c77cc1
4 changed files with 35 additions and 5 deletions
14
README.md
14
README.md
|
@ -1468,6 +1468,20 @@ let g:clap_theme = 'catppuccin'
|
|||
</tr>
|
||||
<!-- vim-clap -->
|
||||
|
||||
<!-- vim-dadbod-ui -->
|
||||
</tr>
|
||||
<tr>
|
||||
<td> <a href="https://github.com/kristijanhusak/vim-dadbod-ui">vim-dadbod-ui</a> </td>
|
||||
<td>
|
||||
|
||||
```lua
|
||||
dadbod_ui = false
|
||||
```
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<!-- vim-dadbod-ui -->
|
||||
|
||||
<!-- vim-gitgutter -->
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -118,7 +118,7 @@ options and settings.
|
|||
-- For more plugins integrations please scroll down (https://github.com/catppuccin/nvim#integrations)
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
-- setup must be called before loading
|
||||
vim.cmd.colorscheme "catppuccin"
|
||||
<
|
||||
|
@ -388,6 +388,10 @@ colorful-winsep.nvim>lua
|
|||
}
|
||||
<
|
||||
|
||||
dadbod-ui>lua
|
||||
dadbod_ui = false
|
||||
<
|
||||
|
||||
dashboard-nvim>lua
|
||||
dashboard = true
|
||||
<
|
||||
|
@ -409,9 +413,9 @@ Update your Feline config to use the Catppuccin components:
|
|||
|
||||
>lua
|
||||
local ctp_feline = require('catppuccin.groups.integrations.feline')
|
||||
|
||||
|
||||
ctp_feline.setup()
|
||||
|
||||
|
||||
require("feline").setup({
|
||||
components = ctp_feline.get(),
|
||||
})
|
||||
|
@ -426,7 +430,7 @@ Here are the defaults:
|
|||
local clrs = require("catppuccin.palettes").get_palette()
|
||||
local ctp_feline = require('catppuccin.groups.integrations.feline')
|
||||
local U = require "catppuccin.utils.colors"
|
||||
|
||||
|
||||
ctp_feline.setup({
|
||||
assets = {
|
||||
left_separator = "",
|
||||
|
@ -676,7 +680,7 @@ Special ~
|
|||
|
||||
>lua
|
||||
local sign = vim.fn.sign_define
|
||||
|
||||
|
||||
sign("DapBreakpoint", { text = "●", texthl = "DapBreakpoint", linehl = "", numhl = ""})
|
||||
sign("DapBreakpointCondition", { text = "●", texthl = "DapBreakpointCondition", linehl = "", numhl = ""})
|
||||
sign("DapLogPoint", { text = "◆", texthl = "DapLogPoint", linehl = "", numhl = ""})
|
||||
|
|
11
lua/catppuccin/groups/integrations/dadbod_ui.lua
Normal file
11
lua/catppuccin/groups/integrations/dadbod_ui.lua
Normal file
|
@ -0,0 +1,11 @@
|
|||
local M = {}
|
||||
|
||||
function M.get()
|
||||
return {
|
||||
NotificationInfo = { fg = C.blue, bg = C.mantle },
|
||||
NotificationWarning = { fg = C.yellow, bg = C.mantle },
|
||||
NotificationError = { fg = C.red, bg = C.mantle },
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
|
@ -132,6 +132,7 @@
|
|||
-- sign("DapBreakpointCondition", { text = "●", texthl = "DapBreakpointCondition", linehl = "", numhl = ""})
|
||||
-- sign("DapLogPoint", { text = "◆", texthl = "DapLogPoint", linehl = "", numhl = ""})
|
||||
-- ```
|
||||
---@field dadbod_ui boolean?
|
||||
---@field dap boolean?
|
||||
---@field dap_ui boolean?
|
||||
---@field dashboard boolean?
|
||||
|
|
Loading…
Reference in a new issue