feat: use new style definitions for hl groups. Keep backward compatibility for string styles
This commit is contained in:
10
README.md
10
README.md
@@ -133,11 +133,11 @@ require("tokyonight").setup({
|
||||
terminal_colors = true, -- Configure the colors used when opening a `:terminal` in Neovim
|
||||
styles = {
|
||||
-- Style to be applied to different syntax groups
|
||||
-- Value is any valid attr-list value `:help attr-list`
|
||||
comments = "italic",
|
||||
keywords = "italic",
|
||||
functions = "NONE",
|
||||
variables = "NONE",
|
||||
-- Value is any valid attr-list value for `:help nvim_set_hl`
|
||||
comments = { italic = true },
|
||||
keywords = { italic = true },
|
||||
functions = {},
|
||||
variables = {},
|
||||
-- Background styles. Can be "dark", "transparent" or "normal"
|
||||
sidebars = "dark", -- style for sidebars, see below
|
||||
floats = "dark", -- style for floating windows
|
||||
|
||||
Reference in New Issue
Block a user