addet lualine becouse slimline has compatability issues
This commit is contained in:
parent
acc5c649f3
commit
3af369e397
1 changed files with 123 additions and 87 deletions
|
@ -220,96 +220,132 @@ return {
|
||||||
vim.keymap.set("n", "<leader>tn", "<cmd>Telescope notify<CR>", { desc = "Telescope show Notifications" }),
|
vim.keymap.set("n", "<leader>tn", "<cmd>Telescope notify<CR>", { desc = "Telescope show Notifications" }),
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- ╭────────────────────────────────╮
|
||||||
|
-- │ lualine - another bar for nvim │
|
||||||
|
-- ╰────────────────────────────────╯
|
||||||
|
{
|
||||||
|
"nvim-lualine/lualine.nvim",
|
||||||
|
opts = {
|
||||||
|
options = {
|
||||||
|
theme = bubbles_theme,
|
||||||
|
component_separators = "",
|
||||||
|
section_separators = { left = "", right = "" },
|
||||||
|
},
|
||||||
|
sections = {
|
||||||
|
lualine_a = { { "mode", separator = { left = "" }, right_padding = 4 } },
|
||||||
|
lualine_b = { "filename", "branch" },
|
||||||
|
lualine_c = {
|
||||||
|
"%=",
|
||||||
|
"cwd",
|
||||||
|
},
|
||||||
|
lualine_x = {},
|
||||||
|
lualine_y = { "filetype", "progress" },
|
||||||
|
lualine_z = {
|
||||||
|
{ "location", separator = { right = "" }, left_padding = 4 },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
inactive_sections = {
|
||||||
|
lualine_a = { "filename" },
|
||||||
|
lualine_b = {},
|
||||||
|
lualine_c = {},
|
||||||
|
lualine_x = {},
|
||||||
|
lualine_y = {},
|
||||||
|
lualine_z = { "location" },
|
||||||
|
},
|
||||||
|
tabline = {},
|
||||||
|
extensions = {},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
-- ╭──────────────────────────────╮
|
-- ╭──────────────────────────────╮
|
||||||
-- │ slimline - nice bar for nvim │
|
-- │ slimline - nice bar for nvim │
|
||||||
-- ╰──────────────────────────────╯
|
-- ╰──────────────────────────────╯
|
||||||
{
|
-- {
|
||||||
-- Calls `require('slimline').setup({})`
|
-- "sschleemilch/slimline.nvim",
|
||||||
"sschleemilch/slimline.nvim",
|
-- opts = {
|
||||||
opts = {
|
-- bold = true, -- makes primary parts and mode bold
|
||||||
bold = true, -- makes primary parts and mode bold
|
-- verbose_mode = false, -- Mode as single letter or as a word
|
||||||
verbose_mode = false, -- Mode as single letter or as a word
|
-- style = "bg", -- or "fg". Whether highlights should be applied to bg or fg of components
|
||||||
style = "bg", -- or "fg". Whether highlights should be applied to bg or fg of components
|
-- mode_follow_style = true, -- Whether the mode color components should follow the style option
|
||||||
mode_follow_style = true, -- Whether the mode color components should follow the style option
|
-- spaces = {
|
||||||
spaces = {
|
-- components = "─",
|
||||||
components = "─",
|
-- left = "─",
|
||||||
left = "─",
|
-- right = "─",
|
||||||
right = "─",
|
-- },
|
||||||
},
|
-- configs = {
|
||||||
configs = {
|
-- path = {
|
||||||
path = {
|
-- hl = {
|
||||||
hl = {
|
-- primary = "Define",
|
||||||
primary = "Define",
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
-- git = {
|
||||||
git = {
|
-- hl = {
|
||||||
hl = {
|
-- primary = "Function",
|
||||||
primary = "Function",
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
-- diagnostics = {
|
||||||
diagnostics = {
|
-- hl = {
|
||||||
hl = {
|
-- primary = "Statement",
|
||||||
primary = "Statement",
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
-- filetype_lsp = {
|
||||||
filetype_lsp = {
|
-- hl = {
|
||||||
hl = {
|
-- primary = "String",
|
||||||
primary = "String",
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
-- components = { -- Choose components and their location
|
||||||
components = { -- Choose components and their location
|
-- left = {
|
||||||
left = {
|
-- "mode",
|
||||||
"mode",
|
-- "progress",
|
||||||
"progress",
|
-- -- "path",
|
||||||
-- "path",
|
-- -- "git",
|
||||||
-- "git",
|
-- },
|
||||||
},
|
-- center = {
|
||||||
center = {
|
-- "path",
|
||||||
"path",
|
-- "git",
|
||||||
"git",
|
-- },
|
||||||
},
|
-- right = {
|
||||||
right = {
|
-- "diagnostics",
|
||||||
"diagnostics",
|
-- "filetype_lsp",
|
||||||
"filetype_lsp",
|
-- "progress",
|
||||||
"progress",
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
-- sep = {
|
||||||
sep = {
|
-- hide = {
|
||||||
hide = {
|
-- first = false, -- hides the first separator
|
||||||
first = false, -- hides the first separator
|
-- last = false, -- hides the last separator
|
||||||
last = false, -- hides the last separator
|
-- },
|
||||||
},
|
-- left = "", -- left separator of components
|
||||||
left = "", -- left separator of components
|
-- right = "", -- right separator of components
|
||||||
right = "", -- right separator of components
|
-- },
|
||||||
},
|
-- hl = {
|
||||||
hl = {
|
-- modes = {
|
||||||
modes = {
|
-- normal = "Type", -- highlight base of modes
|
||||||
normal = "Type", -- highlight base of modes
|
-- insert = "Function",
|
||||||
insert = "Function",
|
-- pending = "Boolean",
|
||||||
pending = "Boolean",
|
-- visual = "Keyword",
|
||||||
visual = "Keyword",
|
-- command = "String",
|
||||||
command = "String",
|
-- },
|
||||||
},
|
-- base = "Comment", -- highlight of everything in in between components
|
||||||
base = "Comment", -- highlight of everything in in between components
|
-- primary = "Normal", -- highlight of primary parts (e.g. filename)
|
||||||
primary = "Normal", -- highlight of primary parts (e.g. filename)
|
-- secondary = "Comment", -- highlight of secondary parts (e.g. filepath)
|
||||||
secondary = "Comment", -- highlight of secondary parts (e.g. filepath)
|
-- },
|
||||||
},
|
-- icons = {
|
||||||
icons = {
|
-- diagnostics = {
|
||||||
diagnostics = {
|
-- ERROR = " ",
|
||||||
ERROR = " ",
|
-- WARN = " ",
|
||||||
WARN = " ",
|
-- HINT = " ",
|
||||||
HINT = " ",
|
-- INFO = " ",
|
||||||
INFO = " ",
|
-- },
|
||||||
},
|
-- git = {
|
||||||
git = {
|
-- branch = "",
|
||||||
branch = "",
|
-- },
|
||||||
},
|
-- folder = " ",
|
||||||
folder = " ",
|
-- lines = " ",
|
||||||
lines = " ",
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
|
||||||
|
|
||||||
-- ╭────────────────────────────────────────╮
|
-- ╭────────────────────────────────────────╮
|
||||||
-- │ which key - to know what to press next │
|
-- │ which key - to know what to press next │
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue