* refactor(cmp) : use cmp module from ui repo

https://github.com/NvChad/ui/commit/c4576d8b5bbb6305de53ec017cd6ffad863c98ee I moved it to the ui repo so non nvchad users could achieve the CMP look from NvChad

* remove: <leader>cc blankline mapping

* replace: nvim-colorizer plugin with ui.colorify (BREAKING CHANGE)

https://github.com/NvChad/ui/blob/v2.5/lua/nvconfig.lua#L106

* misc: load nvchad module in config func of ui

instead of plugin/ in ui repo

* clean up

* remove un-needed configs/lazy_nvim.lua file

* rm gitsigns mappings

as it gets frustrating for users to override them

* rm un-needed options var in plugin configs

* add branch name for ui plugin

* trim some loc!

* feat: use modern theme picker for <leader>th

* feat: add volt plugins
This commit is contained in:
Sidhanth Rathod
2024-10-01 21:50:38 +05:30
committed by GitHub
parent 8d2bb359e4
commit 7f055761ba
11 changed files with 27 additions and 202 deletions
+1 -17
View File
@@ -1,24 +1,8 @@
dofile(vim.g.base46_cache .. "git")
local options = {
return {
signs = {
delete = { text = "󰍵" },
changedelete = { text = "󱕖" },
},
on_attach = function(bufnr)
local gs = package.loaded.gitsigns
local function opts(desc)
return { buffer = bufnr, desc = desc }
end
local map = vim.keymap.set
map("n", "<leader>rh", gs.reset_hunk, opts "Reset Hunk")
map("n", "<leader>ph", gs.preview_hunk, opts "Preview Hunk")
map("n", "<leader>gb", gs.blame_line, opts "Blame Line")
end,
}
return options