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
Copy file name to clipboardExpand all lines: src/content/docs/recipes/colorscheme.mdx
+71Lines changed: 71 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -89,3 +89,74 @@ return {
89
89
This approach also handles the case when the colorscheme is not installed yet and AstroNvim will not try to set it.
90
90
91
91
:::
92
+
93
+
## Cache colorscheme
94
+
95
+
:::tip
96
+
97
+
This is available in the [AstroCommunity](https://github.com/AstroNvim/astrocommunity/tree/main/lua/astrocommunity/recipes/cache-colorscheme)
Some users may want to persist the last chosen colorscheme rather than always using the value set in their user configuration on startup. This can be easily implemented within your plugin configuration with the following code:
0 commit comments