Skip to content

Commit

Permalink
Retain "lush_theme" in starter script for historical reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
rktjmp committed Nov 4, 2021
1 parent 86dd8e7 commit c6ccd87
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CREATE.md
Expand Up @@ -38,7 +38,7 @@ sh << "EOF"
GIT_NAME=$(git config user.name)
YEAR=$(date +"%Y")
mv colors/lush_template.vim colors/$LUSH_NAME.vim
mv lua/lush_colorscheme/lush_template.lua lua/lush_colorscheme/$LUSH_NAME.lua
mv lua/lush_theme/lush_template.lua lua/lush_theme/$LUSH_NAME.lua
if command -v sed &> /dev/null; then
sed -i "s/lush_template/$LUSH_NAME/g" colors/$LUSH_NAME.vim
sed -i "s/COPYRIGHT_NAME/$GIT_NAME/g" LICENSE
Expand All @@ -56,15 +56,15 @@ Lets examine the provided structure:
```
cool_name/
|-lua/
|-lush_colorscheme/
|-lush_theme/
|-cool_name.lua # contains your lush spec, this is what we'll edit next
|-colors/
|-cool_name.vim # used to load your colorscheme into neovim
```

## 2. Create your colorscheme

Open your `lua/lush_colorscheme/*.lua` file and run `:Lushify`.
Open your `lua/lush_theme/*.lua` file and run `:Lushify`.

> Be sure to check out the the tutorial if you haven't yet (`:LushRunTutorial`)
> or see the [docs (:h lush)](doc/lush.txt) more details. Also see the examples
Expand All @@ -85,7 +85,7 @@ A simple lush-spec would look like this, though lush-template comes with a more
comprehesive list of groups.

```lua
-- In cool_name/lua/lush_colorscheme/cool_name.lua
-- In cool_name/lua/lush_theme/cool_name.lua

-- require lush
local lush = require('lush')
Expand Down

0 comments on commit c6ccd87

Please sign in to comment.