108 lines
2.6 KiB
Lua
108 lines
2.6 KiB
Lua
-- ============================================================================
|
|
-- UI Enhancements - Colorscheme, Statusline, Which-Key
|
|
-- ============================================================================
|
|
|
|
return {
|
|
-- Colorscheme: Tokyo Night
|
|
{
|
|
'folke/tokyonight.nvim',
|
|
priority = 1000,
|
|
config = function()
|
|
require('tokyonight').setup({
|
|
style = 'night',
|
|
transparent = true, -- DEIN ALTER WERT!
|
|
terminal_colors = true,
|
|
styles = {
|
|
comments = { italic = true },
|
|
keywords = { italic = true },
|
|
sidebars = 'transparent', -- DEIN ALTER WERT!
|
|
floats = 'transparent', -- DEIN ALTER WERT!
|
|
},
|
|
})
|
|
vim.cmd.colorscheme('tokyonight-night')
|
|
end,
|
|
},
|
|
|
|
-- Statusline
|
|
{
|
|
'nvim-lualine/lualine.nvim',
|
|
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
|
config = function()
|
|
require('lualine').setup({
|
|
options = {
|
|
theme = 'tokyonight',
|
|
component_separators = { left = '', right = '' },
|
|
section_separators = { left = '', right = '' },
|
|
},
|
|
sections = {
|
|
lualine_a = { 'mode' },
|
|
lualine_b = { 'branch', 'diff', 'diagnostics' },
|
|
lualine_c = {
|
|
{
|
|
'filename',
|
|
path = 1, -- Relativer Pfad
|
|
}
|
|
},
|
|
lualine_x = { 'encoding', 'fileformat', 'filetype' },
|
|
lualine_y = { 'progress' },
|
|
lualine_z = { 'location' }
|
|
},
|
|
})
|
|
end,
|
|
},
|
|
|
|
-- Which-Key: Zeigt verfügbare Keybindings
|
|
{
|
|
'folke/which-key.nvim',
|
|
event = 'VeryLazy',
|
|
opts = {
|
|
preset = 'modern',
|
|
delay = 500,
|
|
win = {
|
|
border = 'rounded',
|
|
},
|
|
spec = {
|
|
{ '<leader>f', group = 'find' },
|
|
{ '<leader>g', group = 'git' },
|
|
{ '<leader>e', group = 'explorer' },
|
|
{ '<leader>c', group = 'code' },
|
|
{ '<leader>w', group = 'workspace' },
|
|
{ '<leader>a', group = 'avente/ai' },
|
|
},
|
|
},
|
|
},
|
|
|
|
-- Indent guides
|
|
{
|
|
'lukas-reineke/indent-blankline.nvim',
|
|
main = 'ibl',
|
|
event = { 'BufReadPost', 'BufNewFile' },
|
|
opts = {
|
|
indent = {
|
|
char = '│',
|
|
},
|
|
scope = {
|
|
enabled = true,
|
|
},
|
|
},
|
|
},
|
|
|
|
{
|
|
'stevearc/dressing.nvim',
|
|
lazy = false, -- Wichtig, damit es sofort bereit ist
|
|
opts = {
|
|
input = {
|
|
enabled = true,
|
|
default_prompt = "➤ ",
|
|
border = "rounded",
|
|
relative = "editor",
|
|
prefer_width = 50,
|
|
},
|
|
select = {
|
|
enabled = true,
|
|
backend = { "nui", "builtin" }, -- Telescope hier bewusst rauslassen!
|
|
},
|
|
},
|
|
},
|
|
}
|