From 1efb48847944c4036bfd4114590bd617b274adf9 Mon Sep 17 00:00:00 2001 From: Mika Vilpas Date: Fri, 21 Jun 2024 20:08:08 +0300 Subject: [PATCH] chore: add comments and basic type safety to the repro.lua file --- repro.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/repro.lua b/repro.lua index a47603e..dc3bdf2 100644 --- a/repro.lua +++ b/repro.lua @@ -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') @@ -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', { @@ -40,6 +46,7 @@ local plugins = { { desc = 'Open the file manager' }, }, }, + ---@type YaziConfig opts = { open_for_directories = false, },