From c1c95550fb43a968947e8adafd70fef1502ff31e Mon Sep 17 00:00:00 2001 From: GlaDOS Date: Wed, 22 Nov 2023 00:27:51 +0100 Subject: [PATCH] nvim: statusline theme --- nvim/init.lua | 44 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 41 insertions(+), 3 deletions(-) diff --git a/nvim/init.lua b/nvim/init.lua index 8a40333..d3d6075 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -96,7 +96,7 @@ plugins = { { 'akinsho/bufferline.nvim', config = function () - require('bufferline').setup{ + require('bufferline').setup { options = { separator_style = "thin", indicator = { @@ -122,14 +122,52 @@ plugins = { { 'nvim-lualine/lualine.nvim', config = function() + local colors_insert = { + line_background = '#282a36', + line_foreground = '#f8f8f2', + line_midtone = '#44475a', + pink = '#ff79c6', + ourple = '#bd93f9' + } + + local cake_theme_dracula = { + insert = { + a = { fg = colors_insert.line_background, bg = colors_insert.pink }, + b = { fg = colors_insert.line_foreground, bg = colors_insert.line_background }, + z = { fg = colors_insert.line_foreground, bg = colors_insert.line_background } + }, + normal = { + a = { fg = colors_insert.line_background, bg = colors_insert.ourple }, + + b = { fg = colors_insert.fg, bg = colors_insert.line_background }, + + z = { fg = colors_insert.fg, bg = colors_insert.line_background } + }, + visual = { + }, + replace = { + } + } + require('lualine').setup { options = { + theme = cake_theme_dracula, disabled_filetypes = { statusline = { "neo-tree" } - } - } + }, + section_separators = "", + component_separators = "", + }, + sections = { + lualine_a = {'mode'}, + lualine_b = {'filename', 'location'}, + lualine_c = {}, + lualine_x = {}, + lualine_y = {}, + lualine_z = {'diff','branch'} + } } end, dependencies = {{'nvim-tree/nvim-web-devicons'}},