-
-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
breaking-change: method of setting colorscheme changed
The `theme_style` option has been removed from the `setup` and the method of setting the colorscheme has changed. To set the colorscheme, use the `:colorscheme` command after calling setup. Refer to ':h github-theme.changelog-11042023' for more information, and README has also been updated.
- Loading branch information
Showing
31 changed files
with
213 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,19 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
|
||
## [unreleased] | ||
|
||
### What's New? | ||
### Deprecation & Breaking Changes | ||
|
||
- Added a Deprecation library to print Deprecation Messages. | ||
- The Method of setting and loading colorscheme is changed. Refer to `:h github-theme.changelog-10042023` | ||
- The `config.vim_config` and `config.default` modules are now deprecated. | ||
- The `config.apply_configuration()` function is also deprecated. | ||
- The `theme_style` option is deprecated and use `:colorscheme` command instead. | ||
|
||
### Changes | ||
### What's New? | ||
|
||
- Added a Deprecation library to print Deprecation Messages. | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ful1e5
Author
Member
|
||
- The `config.default` module has been changed to a variable and moved inside the `config` module. | ||
|
||
### Deprecation | ||
|
||
- The `config.vim_config` and `config.default` modules are now deprecated. | ||
- The `config.apply_configuration()` function is also deprecated. | ||
|
||
### Issues Fix | ||
|
||
- #238 fixed | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
lua << EOF | ||
require("github-theme").setup({theme_style = "dark"}) | ||
|
||
-- require("github-theme.config").set_theme('github_dark') | ||
require("github-theme").load() | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
lua << EOF | ||
require("github-theme").setup({theme_style = "dark_colorblind"}) | ||
|
||
require("github-theme.config").set_theme('github_dark_colorblind') | ||
require("github-theme").load() | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
lua << EOF | ||
require("github-theme").setup({theme_style = "dark_default"}) | ||
|
||
require("github-theme.config").set_theme('github_dark_default') | ||
require("github-theme").load() | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
lua << EOF | ||
require("github-theme").setup({theme_style = "dimmed"}) | ||
|
||
require("github-theme.config").set_theme('github_dimmed') | ||
require("github-theme").load() | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
lua << EOF | ||
require("github-theme").setup({theme_style = "light"}) | ||
|
||
require("github-theme.config").set_theme('github_light') | ||
require("github-theme").load() | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
lua << EOF | ||
require("github-theme").setup({theme_style = "light_colorblind"}) | ||
|
||
require("github-theme.config").set_theme('github_light_colorblind') | ||
require("github-theme").load() | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
lua << EOF | ||
require("github-theme").setup({theme_style = "light_default"}) | ||
|
||
require("github-theme.config").set_theme('github_light_default') | ||
require("github-theme").load() | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
@ful1e5 you may be interested in nvim's
vim.deprecate()
function