From f0cd6d7fc2854f35b5cb62d464bf5dfded36c324 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 22 Apr 2023 07:41:49 +0000 Subject: [PATCH] chore(build): auto-generate vimdoc --- doc/tokyonight.nvim.txt | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/doc/tokyonight.nvim.txt b/doc/tokyonight.nvim.txt index 448f869..cfbcaa7 100644 --- a/doc/tokyonight.nvim.txt +++ b/doc/tokyonight.nvim.txt @@ -1,4 +1,4 @@ -*tokyonight.nvim.txt* For Neovim >= 0.8.0 Last change: 2023 April 19 +*tokyonight.nvim.txt* For Neovim >= 0.8.0 Last change: 2023 April 22 ============================================================================== Table of Contents *tokyonight.nvim-table-of-contents* @@ -314,9 +314,20 @@ that can be used to generate themes for the different styles. How to add a new extra template: -1. create a file like `lua/tokyonight/extra/cool-app.lua`2. add the name and output file extension to the `extras` table in -`lua/tokyonight/extra/init.lua`3. in Nvim, run `:lua require("tokyonight.extra").setup()` to generate / update -extra themes4. commit the newly created themes under `extra/` +1. create a file like `lua/tokyonight/extra/cool-app.lua` + +2. add the name and output file extension to the `extras` table in +`lua/tokyonight/extra/init.lua` + +3. run the shell script below to generate / update extra themes + +>sh + $ nvim --headless "+lua require('tokyonight.extra').setup()" +qa +< + +4. commit the newly created themes under `extra/` + + ============================================================================== 2. Links *tokyonight.nvim-links*