This commit is contained in:
2023-12-17 00:54:17 -05:00
parent fb4b0a7261
commit b16dc0991b
5 changed files with 31 additions and 14 deletions

View File

@@ -34,7 +34,7 @@ M.ui = {
theme = "default", -- default/vscode/vscode_colored/minimal
-- default/round/block/arrow separators work only for default statusline theme
-- round and block will work for minimal theme only
separator_style = "default",
separator_style = "arrow",
overriden_modules = nil,
},
@@ -44,6 +44,9 @@ M.ui = {
enabled = true,
lazyload = true,
overriden_modules = nil,
buttons = function()
return ""
end,
},
-- nvdash (dashboard)

View File

@@ -5,8 +5,8 @@ local M = {}
local highlights = require "custom.highlights"
M.ui = {
theme = "ashes",
theme_toggle = { "ashes", "one_light" },
theme = "chadtain",
theme_toggle = { "chadtain", "one_light" },
hl_override = highlights.override,
hl_add = highlights.add,

View File

@@ -44,6 +44,9 @@ M.general = {
["<leader>b"] = { "<cmd> Telescope buffers <CR>", "Find buffers" },
-- ["<A-Space>"] = cmp.mapping.complete(),
["gu"] = { "<cmd>diffget //2<CR>", "Select left in conflict"},
["gh"] = { "<cmd>diffget //3<CR>", "Select right in conflict"},
},
v = {
[">"] = { ">gv", "indent" },

View File

@@ -126,8 +126,21 @@ local plugins = {
end,
},
{
"nvim-treesitter/nvim-treesitter-context",
lazy = false,
opts = { max_lines = 6 },
},
{ "tpope/vim-surround", lazy = false },
{ "tpope/vim-fugitive" },
{
"lukas-reineke/indent-blankline.nvim",
enabled = false,
},
-- To make a plugin not be loaded
-- {
-- "NvChad/nvim-colorizer.lua",

View File

@@ -96,8 +96,7 @@ local default_plugins = {
vim.api.nvim_create_autocmd({ "BufRead" }, {
group = vim.api.nvim_create_augroup("GitSignsLazyLoad", { clear = true }),
callback = function()
vim.fn.jobstart({"git", "-C", vim.loop.cwd(), "rev-parse"},
{
vim.fn.jobstart({ "git", "-C", vim.loop.cwd(), "rev-parse" }, {
on_exit = function(_, return_code)
if return_code == 0 then
vim.api.nvim_del_augroup_by_name "GitSignsLazyLoad"
@@ -105,9 +104,8 @@ local default_plugins = {
require("lazy").load { plugins = { "gitsigns.nvim" } }
end)
end
end
}
)
end,
})
end,
})
end,