Skip to content

Commit

Permalink
chore: reproduction script uses catppuccin instead of tokyonight (#338)
Browse files Browse the repository at this point in the history
The integration tests already use this colorscheme, and the colors are
depended on in the tests. This change makes the reproduction script use
the same colorscheme as the tests.

But the real reason is that it's my current favorite colorscheme.
  • Loading branch information
mikavilpas authored Aug 7, 2024
1 parent d749bb4 commit 4a3def4
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions repro.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,27 +28,29 @@ vim.g.mapleader = ' '
-- install the following plugins
---@type LazySpec
local plugins = {
'folke/tokyonight.nvim',
{ 'catppuccin/nvim', name = 'catppuccin', opts = { flavour = 'macchiato' } },
{
'mikavilpas/yazi.nvim',
event = 'VeryLazy',
keys = {
'<leader>-',
'<cmd>Yazi<cr>',
desc = 'Open yazi at the current file',
},
{
-- Open in the current working directory
'<leader>cw',
'<cmd>Yazi cwd<cr>',
desc = "Open the file manager in nvim's working directory",
},
{
-- NOTE: this requires a version of yazi that includes
-- https://github.com/sxyazi/yazi/pull/1305 from 2024-07-18
'<c-up>',
'<cmd>Yazi toggle<cr>',
desc = 'Resume the last yazi session',
{
'<leader>-',
'<cmd>Yazi<cr>',
desc = 'Open yazi at the current file',
},
{
-- Open in the current working directory
'<leader>cw',
'<cmd>Yazi cwd<cr>',
desc = "Open the file manager in nvim's working directory",
},
{
-- NOTE: this requires a version of yazi that includes
-- https://github.com/sxyazi/yazi/pull/1305 from 2024-07-18
'<c-up>',
'<cmd>Yazi toggle<cr>',
desc = 'Resume the last yazi session',
},
},
---@type YaziConfig
opts = {
Expand All @@ -58,7 +60,8 @@ local plugins = {
}
require('lazy').setup(plugins, {
root = root .. '/plugins',
install = { colorscheme = { 'catppuccin' } },
})

vim.cmd.colorscheme('tokyonight')
vim.cmd.colorscheme('catppuccin')
-- add anything else here

0 comments on commit 4a3def4

Please sign in to comment.