This commit is contained in:
Belal Elsabbagh
2026-02-01 08:33:07 +02:00
parent bb79366354
commit 746a957b35
13 changed files with 652 additions and 102 deletions

View File

@@ -205,3 +205,6 @@ vim.lsp.enable {
'yamlls',
'ty',
}
vim.o.background = "dark"
vim.cmd([[colorscheme gruvbox-material]])

View File

@@ -1,6 +1,7 @@
return {
'vyfor/cord.nvim',
build = ':Cord update',
priority = 15,
-- opts = {}
-- }
}

View File

@@ -0,0 +1 @@
return { "sainnhe/gruvbox-material", priority = 1000 , config = true}

View File

@@ -0,0 +1,96 @@
return {
'nvim-lualine/lualine.nvim',
opts = {
options = {
section_separators = { left = '', right = '' },
component_separators = { left = '|', right = '|' },
theme = vim.g.colors_name,
refresh = {
statusline = 1000,
},
},
sections = {
lualine_c = {
{
'filename',
path = 1,
},
},
lualine_x = {
{
'lsp_status',
icon = '', -- f013
symbols = {
-- Standard unicode symbols to cycle through for LSP progress:
-- spinner
-- =
-- {
-- '⠋',
-- '⠙',
-- '⠹',
-- '⠸',
-- '⠼',
-- '⠴',
-- '⠦',
-- '⠧',
-- '⠇',
-- '⠏'
-- },
-- --
-- Standard
-- unicode
-- symbol
-- for
-- when
-- LSP
-- is
-- done:
-- done
-- =
-- '✓',
-- --
-- Delimiter
-- inserted
-- between
-- LSP
-- names:
-- separator
-- =
-- '
-- ',
-- },
-- --
-- List
-- of
-- LSP
-- names
-- to
-- ignore
-- (e.g.,
-- `null-ls`):
-- ignore_lsp
-- =
-- {},
-- --
-- Display
-- the
-- LSP
-- name
-- show_name
-- =
-- true,
-- },
-- 'encoding',
-- 'fileformat',
-- 'filetype',
-- },
-- },
-- },
-- }
}
}
}
}
}
}

View File

@@ -1,5 +1,5 @@
return {
'echasnovski/mini.nvim',
'nvim-mini/mini.nvim',
config = function()
require('mini.ai').setup { n_lines = 500 }
require('mini.surround').setup {
@@ -14,27 +14,30 @@ return {
}
require('mini.pairs').setup()
require('mini.icons').setup()
require('mini.statusline').setup({
content = {
active = function()
local mode, mode_hl = MiniStatusline.section_mode({ trunc_width = 120 })
local git = MiniStatusline.section_git({ trunc_width = 40 })
local diagnostics = MiniStatusline.section_diagnostics({ trunc_width = 75 })
local lsp = MiniStatusline.section_lsp({ trunc_width = 75 })
local filename = MiniStatusline.section_filename({trunc_width=1000})
local fileinfo = MiniStatusline.section_fileinfo({ trunc_width = 120 })
return MiniStatusline.combine_groups({
{ hl = mode_hl, strings = { mode } },
{ hl = 'MiniStatuslineDevinfo', strings = { git, diagnostics, lsp } },
'%<', -- Mark truncation point
{ hl = 'MiniStatuslineFilename', strings = { filename} },
'%=', -- Fill rest of screen
{ hl = 'MiniStatuslineFileinfo', strings = { fileinfo } },
{ hl = mode_hl, strings = { location } },
})
end,
},
})
-- require('mini.statusline').setup({
-- content = {
-- active = function()
-- local mode, mode_hl = MiniStatusline.section_mode({ trunc_width = 120 })
-- local git = MiniStatusline.section_git({ trunc_width = 40 })
-- local diff = MiniStatusline.section_diff({ trunc_width = 75 })
-- local diagnostics = MiniStatusline.section_diagnostics({ trunc_width = 75 })
-- local lsp = MiniStatusline.section_lsp({ trunc_width = 75 })
-- local filename = MiniStatusline.section_filename({ trunc_width = 140 })
-- local fileinfo = MiniStatusline.section_fileinfo({ trunc_width = 120 })
-- local location = MiniStatusline.section_location({ trunc_width = 75 })
-- local search = MiniStatusline.section_searchcount({ trunc_width = 75 })
--
-- return MiniStatusline.combine_groups({
-- { hl = mode_hl, strings = { mode } },
-- { hl = 'MiniStatuslineDevinfo', strings = { git, diagnostics, diff } },
-- '%<', -- Mark truncation point
-- { hl = 'MiniStatuslineFilename', strings = { filename } },
-- '%=', -- Fill rest of screen
-- { hl = 'MiniStatuslineFileinfo', strings = { lsp, fileinfo } },
-- { hl = mode_hl, strings = { location } },
-- })
-- end,
-- },
-- })
end,
}

View File

@@ -8,9 +8,9 @@ return {
enabled = true,
timeout = 3000,
},
git = { enabled = true },
picker = { enabled = true },
quickfile = { enabled = true },
statuscolumn = { enabled = true },
words = { enabled = true },
styles = {
notification = {

View File

@@ -1 +1,15 @@
return { "rebelot/kanagawa.nvim", priority = 1000 }
return { {
'Mofiqul/dracula.nvim',
lazy = false,
priority = 1000,
},
{ "ellisonleao/gruvbox.nvim", priority = 1000 , config = true },
{ "rebelot/kanagawa.nvim", priority = 1000 , config = true },
{
'f4z3r/gruvbox-material.nvim',
name = 'gruvbox-material',
lazy = false,
priority = 1000,
opts = {},
},
}