Running into issues customizing a theme #529
Answered
by
shadmansaleh
lokesh-krishna
asked this question in
Q&A
-
I am following the instructions provided in the readme for customizing themes and have the following in my lua << EOF
local custom_catppuccin = require'lualine.themes.catppuccin'
custom_catppuccin.normal.c.bg = '#1e1e28'
custom_catppuccin.normal.c.fg = '#1e1e28'
require("lualine").setup {
options = {
icons_enabled = true,
disabled_filetypes = {'NvimTree'},
theme = 'custom_catppuccin',
component_separators = '|',
section_separators = { left = '', right = '' },
},
sections = {
lualine_a = {
{ 'mode', separator = { left = '' }, right_padding = 2 },
},
lualine_b = { 'filename', 'branch' },
lualine_c = { 'fileformat' },
lualine_x = {},
lualine_y = { 'filetype', 'progress' },
lualine_z = {
{ 'location', separator = { right = '' }, left_padding = 2 },
},
},
inactive_sections = {
lualine_a = {'filename'},
lualine_b = {},
lualine_c = {},
lualine_x = {},
lualine_y = {},
lualine_z = {'location'}
},
tabline = {},
extensions = {}
}
EOF However, when reloading Neovim, I get the following error:
Should I be specifying this somewhere other than my |
Beta Was this translation helpful? Give feedback.
Answered by
shadmansaleh
Jan 4, 2022
Replies: 1 comment 1 reply
-
You need to pass the table not tables name -theme = 'custom_catppuccin',
+theme = custom_catppuccin, |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lokesh-krishna
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to pass the table not tables name