feat: add vim-dadbod-ui integration (#747)

* Add dadbod-ui

* Address review cmts

* Address second review cmt
This commit is contained in:
Rahul Garg 2024-08-09 17:58:48 +05:30 committed by GitHub
parent 548b2a2541
commit 4db4c77cc1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 35 additions and 5 deletions

View file

@ -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>

View file

@ -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 = ""})

View 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

View file

@ -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?