Updated scripts

This commit is contained in:
Christoffer Martinsson 2025-07-23 13:23:17 +02:00
parent 89710b85e5
commit adb98f1025
2 changed files with 28 additions and 2 deletions

View File

@ -383,6 +383,11 @@ require("lazy").setup({
lualine_b = { "branch", "diff" },
lualine_c = { "diagnostics", "filename" },
lualine_x = {
{
function()
return vim.fn.getcwd()
end,
},
{
-- Lsp server name .
function()
@ -463,6 +468,27 @@ require("lazy").setup({
},
},
{
"kdheepak/lazygit.nvim",
lazy = true,
cmd = {
"LazyGit",
"LazyGitConfig",
"LazyGitCurrentFile",
"LazyGitFilter",
"LazyGitFilterCurrentFile",
},
-- optional for floating window border decoration
dependencies = {
"nvim-lua/plenary.nvim",
},
-- setting the keybinding for LazyGit with 'keys' is recommended in
-- order to load the plugin when the command is run for the first time
keys = {
{ "<C-g>", "<cmd>LazyGit<cr>", desc = "LazyGit" },
},
},
{
"lukas-reineke/indent-blankline.nvim",
main = "ibl",

View File

@ -102,14 +102,14 @@ function theme.setup()
typedef = { fg = p.color6 },
underlined = { fg = p.color2, underline = true },
Variable = { fg = p.color15 },
VertSplit = { fg = p.color0 },
VertSplit = { fg = p.cursorline },
Visual = { bg = p.color18 },
VisualNOS = { bg = p.background },
WarningMsg = { fg = p.color3, bg = p.background },
Whitespace = { fg = p.color1 },
WildMenu = { fg = p.color7, bg = p.color4 },
lCursor = { fg = p.foreground, bg = p.foreground },
WinSeparator = { fg = p.cursorline },
-- bufferline.nvim: https://github.com/akinsho/bufferline.nvim
BufferLineFill = { fg = p.background, bg = p.background },
BufferLineIndicatorSelected = { fg = p.color2 },