You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kickstart.nvim/lua/sld/style.lua

82 lines
1.9 KiB
Lua

local colors = require('gruvbox-material.colors').get(vim.o.background, 'hard')
require('gruvbox-material').setup {
italics = false, -- enable italics in general
contrast = 'hard', -- set contrast, can be any of "hard", "medium", "soft"
comments = {
italics = false,
},
background = {
transparent = true, -- set the background to transparent
},
float = {
force_background = false, -- force background on floats even when background.transparent is set
background_color = nil, -- set color for float backgrounds. If nil, uses the default color set
-- by the color scheme
},
signs = {
highlight = true, -- whether to highlight signs
},
customize = function(group, opt)
if group == 'Type' then
opt.link = nil
opt.fg = colors.blue
end
if group == 'Macro' then
opt.link = nil
opt.fg = colors.purple
end
return opt
end,
}
require('lualine').setup {
options = {
icons_enabled = true,
theme = 'gruvbox-material',
component_separators = { left = '', right = '' },
section_separators = { left = '', right = '' },
disabled_filetypes = {
statusline = {},
winbar = {},
},
ignore_focus = {},
always_divide_middle = true,
always_show_tabline = true,
globalstatus = false,
refresh = {
statusline = 100,
tabline = 100,
winbar = 100,
},
},
sections = {
lualine_a = { 'mode' },
lualine_b = { 'branch', 'diff', 'diagnostics' },
lualine_c = { 'filename' },
lualine_x = { 'encoding', 'fileformat', 'filetype' },
lualine_y = { 'progress' },
lualine_z = { 'location' },
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = { 'filename' },
lualine_x = { 'location' },
lualine_y = {},
lualine_z = {},
},
tabline = {},
winbar = {},
inactive_winbar = {},
extensions = {},
}
require('ibl').setup {
indent = {
char = '',
},
}