mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
breaking: Remove setup script and use chezmoi
This commit is contained in:
parent
02bbb24cac
commit
0051a163c3
190 changed files with 118 additions and 3456 deletions
63
dot_config/nvim/lua/plugins/mod/lualine/init.lua
Normal file
63
dot_config/nvim/lua/plugins/mod/lualine/init.lua
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
local lualine = require("lualine")
|
||||
|
||||
-- Color table for highlights
|
||||
|
||||
-- local colors = require("config.colors")
|
||||
local components = require("plugins.mod.lualine.components")
|
||||
|
||||
--[[
|
||||
VSCode Style:
|
||||
Remote | Git Branch | Diagnostics | Command | | MID | | Line:Column | Indent | Encoding | EOL | File Type LSP | Notifications
|
||||
--]]
|
||||
|
||||
-- Config
|
||||
local config = {
|
||||
options = {
|
||||
disabled_filetypes = {
|
||||
statusline = { "NvimTree", "alpha", "grug-far", "snacks_dashboard" },
|
||||
},
|
||||
-- Disable sections and component separators
|
||||
component_separators = { left = "", right = "" },
|
||||
section_separators = { left = "", right = "" },
|
||||
-- theme = "catppuccin",
|
||||
theme = vim.g.colors_name,
|
||||
-- IDE-like Global Status
|
||||
globalstaus = true,
|
||||
},
|
||||
sections = {
|
||||
-- these are to remove the defaults
|
||||
lualine_a = {
|
||||
components.mode,
|
||||
},
|
||||
lualine_b = {
|
||||
components.diff,
|
||||
},
|
||||
lualine_c = {
|
||||
components.diagnostics,
|
||||
},
|
||||
lualine_x = {
|
||||
components.orgmode,
|
||||
components.indent,
|
||||
components.encoding,
|
||||
components.eol,
|
||||
},
|
||||
lualine_y = {
|
||||
components.filetype,
|
||||
components.lsp,
|
||||
},
|
||||
lualine_z = {
|
||||
components.progress,
|
||||
},
|
||||
},
|
||||
inactive_sections = {
|
||||
-- these are to remove the defaults
|
||||
lualine_a = {},
|
||||
lualine_b = {},
|
||||
lualine_y = {},
|
||||
lualine_z = {},
|
||||
lualine_c = {},
|
||||
lualine_x = {},
|
||||
},
|
||||
}
|
||||
|
||||
lualine.setup(config)
|
||||
Loading…
Add table
Add a link
Reference in a new issue