Skip to content

Commit

Permalink
chore: add comments and basic type safety to the repro.lua file
Browse files Browse the repository at this point in the history
  • Loading branch information
mikavilpas committed Jun 21, 2024
1 parent 38ae2b4 commit 1efb488
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion repro.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-- You can use this file to reproduce an issue with your configuration.

---@module "yazi"
---@module "lazy"

-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify('./.repro', ':p')

Expand All @@ -20,7 +25,8 @@ end
vim.opt.runtimepath:prepend(lazypath)
vim.g.mapleader = ' '

-- install plugins
-- install the following plugins
---@type LazySpec
local plugins = {
'folke/tokyonight.nvim',
{
Expand All @@ -40,6 +46,7 @@ local plugins = {
{ desc = 'Open the file manager' },
},
},
---@type YaziConfig
opts = {
open_for_directories = false,
},
Expand Down

0 comments on commit 1efb488

Please sign in to comment.