themer.lua icon indicating copy to clipboard operation
themer.lua copied to clipboard

feat: allow using bg and style on syntax and built_in colorscheme properties

Open danielefongo opened this issue 2 years ago • 1 comments

With this PR I allow the user to insert style tables on colorscheme.syntax and colorscheme.built_in.

Old:

local syntax = {
  statement = "#ffffff",
  ["function"] = "#ffffff",
  variable = "#ffffff",
  include = "#ffffff",
  ...
}

New:

local syntax = {
  statement = { fg = "#ffffff", style = "bold" },
  ["function"] = { fg = "#ffffff", style = "italic" },
  variable = { fg = "#ffffff", bg = "red" },
  include = "#ffffff",
  ...
}

It is also retrocompatible with previous configurations.

danielefongo avatar Oct 06 '23 15:10 danielefongo

Is this project dead? :C

danielefongo avatar Feb 29 '24 13:02 danielefongo