You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| colors |`{}`| You can override specific color groups to use other groups or a hex color |
98
-
| comment_style |`italic`| Highlight style for comments (check `:help highlight-args` for options) |
98
+
| options.styles.comments |`italic`| Highlight style for comments (check `:help highlight-args` for options) |
99
+
| options.styles.functions |`NONE`| Highlight style for functions (check `:help highlight-args` for options) |
100
+
| options.styles.keywords |`italic`| Highlight style for keywords (check `:help highlight-args` for options) |
101
+
| options.styles.variables |`NONE`| Highlight style for variables and identifiers (check `:help highlight-args` for options) |
99
102
| dark_float |`false`| Float windows like the lsp diagnostics windows get a darker background. |
100
103
| dark_sidebar |`true`| Sidebar like windows like `NvimTree` get a darker background |
101
-
| dev |`false`| Developer Mode. |
102
-
| function_style |`NONE`| Highlight style for functions (check `:help highlight-args` for options) |
103
104
| hide_end_of_buffer |`true`| Enabling this option, will hide filler lines (~) after the end of the buffer |
104
105
| hide_inactive_statusline |`true`| Enabling this option, will hide inactive statuslines and replace them with a thin border instead. Should work with the standard **StatusLine**. |
105
-
| keyword_style |`italic`| Highlight style for keywords (check `:help highlight-args` for options) |
106
-
| msg_area_style |`NONE`| Highlight style for messages and cmdline (check `:help highlight-args` for options) |
107
106
| overrides |`function`| Override specific highlight groups. The function accpet colors as argument. You can also add a non-exists highlight by enabling the `dev` mode. |
108
107
| sidebars |`{}`| Set a darker background on sidebar-like windows. For example: `{"qf", "vista_kind", "terminal", "packer"}`|
109
108
| transparent |`false`| Enable this to disable setting the background color |
110
-
|variable_style|`NONE`| Highlight style for variables and identifiers (check `:help highlight-args` for options)|
Copy file name to clipboardExpand all lines: lua/github-theme/theme.lua
+8-8
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ M.setup = function()
46
46
CursorLineNr= { fg=c.cursor_line_nr }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line.
47
47
MatchParen= { fg=c.fg, bg=c.syntax.match_paren_bg }, -- The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt|
MsgArea= { fg=c.fg, style=config.options.msg_area_style }, -- Area for messages and cmdline
49
+
MsgArea= { fg=c.fg }, -- Area for messages and cmdline
50
50
-- MsgSeparator= { }, -- Separator for scrolled messages, `msgsep` flag of 'display'
51
51
MoreMsg= { fg=c.blue }, -- |more-prompt|
52
52
NonText= { fg=c.eob }, -- '@' at the end of the window, characters from 'showbreak' and other characters that do not really exist in the text (e.g., ">" displayed when a double-wide character doesn't fit at the end of the line). See also |hl-EndOfBuffer|.
@@ -85,22 +85,22 @@ M.setup = function()
85
85
-- default,
86
86
-- Uncomment and edit if you want more specific syntax highlighting.
87
87
88
-
Comment= { fg=c.syntax.comment, style=config.options.comment_style }, -- any comment
88
+
Comment= { fg=c.syntax.comment, style=config.options.styles.comments }, -- any comment
89
89
Constant= { fg=c.syntax.constant }, -- (preferred) any constant
90
90
String= { fg=c.syntax.string }, -- a string constant: "this is a string"
91
91
Character= { fg=c.syntax.variable }, -- a character constant: 'c', '\n'
0 commit comments