found match for the statusline after a lot of research and styled it
This commit is contained in:
49
homemanager/neovim/lua/plugins/config/staline.lua
Normal file
49
homemanager/neovim/lua/plugins/config/staline.lua
Normal file
@@ -0,0 +1,49 @@
|
||||
require('staline').setup {
|
||||
defaults = {
|
||||
expand_null_ls = false, -- This expands out all the null-ls sources to be shown
|
||||
left_separator = ' ',
|
||||
right_separator = " ",
|
||||
full_path = false,
|
||||
line_column = "[%l/%L] :%c 並%p%% ", -- `:h stl` to see all flags.
|
||||
|
||||
fg = "#000000", -- Foreground text color.
|
||||
bg = "none", -- Default background is transparent.
|
||||
inactive_color = "#303030",
|
||||
inactive_bgcolor = "none",
|
||||
true_colors = false, -- true lsp colors.
|
||||
font_active = "none", -- "bold", "italic", "bold,italic", etc
|
||||
|
||||
mod_symbol = " ",
|
||||
lsp_client_symbol = " ",
|
||||
lsp_client_character_length = 12, -- Shorten LSP client names.
|
||||
branch_symbol = " ",
|
||||
cool_symbol = " ", -- Change this to override default OS icon.
|
||||
null_ls_symbol = "", -- A symbol to indicate that a source is coming from null-ls
|
||||
},
|
||||
mode_icons = {
|
||||
n = " ",
|
||||
i = " ",
|
||||
c = " ",
|
||||
v = " ", -- etc..
|
||||
},
|
||||
sections = {
|
||||
left = { '- ', '-mode', 'left_sep_double', ' ', 'branch', 'file_name' },
|
||||
mid = {},
|
||||
right = { 'cool_symbol', 'right_sep_double', '-line_column' },
|
||||
},
|
||||
inactive_sections = {
|
||||
left = { 'branch', 'file_name' },
|
||||
mid = { 'file_name' },
|
||||
right = { 'line_column' }
|
||||
},
|
||||
special_table = {
|
||||
NvimTree = { 'NvimTree', ' ' },
|
||||
packer = { 'Packer', ' ' }, -- etc
|
||||
},
|
||||
lsp_symbols = {
|
||||
Error = " ",
|
||||
Info = " ",
|
||||
Warn = " ",
|
||||
Hint = "",
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user