Breaking Changes & Deprecation #198
Replies: 5 comments
-
88d4373 includes the removal of all supportive modules from the Vim configuration that were using For further information about the deprecated modules and their replacements, please refer to |
Beta Was this translation helpful? Give feedback.
-
Date: April 11, 2023 The Old approach for setting the theme: require('github-theme').setup({
theme_style = 'dark',
--- ...
}) A new approach for setting the theme: require('github-theme').setup({
--- ...
})
vim.cmd('colorscheme github_dark')
-- or
-- vim.cmd.colorscheme('github_dark') |
Beta Was this translation helpful? Give feedback.
-
Date: April 12, 2023 The configuration for defining styles has been migrated to require('github-theme').setup({
...
- comment_style = "Italic",
- function_style = "NONE",
- keyword_style = "Italic",
- variable_style = "NONE",
- msg_are_style = "NONE", -- Removed
+ options = {
+ styles = {
+ comments = "Italic",
+ functions = "NONE",
+ keywords = "Italic",
+ variables = "NONE"
+ },
+ },
...
} Here are the updated config keys:
|
Beta Was this translation helpful? Give feedback.
-
Date: April 23, 2023 The way to override color variables has been updated. You can now use the Some changes have been made to the names of the colorschemes. You can check the names of the colorschemes in the "colors" directory in the project root, or by using the The deprecated colorschemes will no longer support any overriding highlight groups or color variables. The updated colorscheme list:
The updated configuration keys are:
Example : require('github-theme').setup({
--- ...
palettes = {
github_dark = {
canvas = {
default = '#000000',
},
},
all = {
danger = {
fg = '#FF0000',
},
},
},
specs = {
github_dark_dimmed = {
bg0 = '#111111',
},
all = {
diag = {
error = '#FF0000',
},
},
},
groups = {
github_dark = {
Error = { fg = '#FF0000' },
},
all = {
ErrorMsg = { link = 'Error' },
},
},
})
vim.cmd.colorscheme('github_dark_colorblind') |
Beta Was this translation helpful? Give feedback.
-
Subscribe to this discussion to receive updates on breaking changes and deprecations.
Beta Was this translation helpful? Give feedback.
All reactions