From 768e4e1b9eda781b7d0ae30d07254781de8bc63e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Dom=C3=ADnguez?= Date: Sun, 1 Jun 2025 12:03:48 -0400 Subject: [PATCH] add new plugin --- .config/nvim/lua/plugins/yazi.lua | 41 +++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .config/nvim/lua/plugins/yazi.lua diff --git a/.config/nvim/lua/plugins/yazi.lua b/.config/nvim/lua/plugins/yazi.lua new file mode 100644 index 0000000..faf4f88 --- /dev/null +++ b/.config/nvim/lua/plugins/yazi.lua @@ -0,0 +1,41 @@ +-- yazi +-- This file is used to define the dependencies of this plugin when the user is +-- using lazy.nvim. +-- +-- If you are curious about how exactly the plugins are used, you can use e.g. +-- the search functionality on Github. +-- +--https://lazy.folke.io/packages#lazy + +---@module "lazy" +---@module "yazi" + +---@type LazySpec +return { + -- Needed for file path resolution mainly + -- + -- https://github.com/nvim-lua/plenary.nvim/ + { "nvim-lua/plenary.nvim", lazy = true }, + -- { "folke/snacks.nvim", lazy = true }, + + -- + -- TODO enable after https://github.com/nvim-neorocks/nvim-busted-action/issues/4 is resolved + -- + -- { + -- -- Neovim plugin that adds support for file operations using built-in LSP + -- -- https://github.com/antosha417/nvim-lsp-file-operations + -- 'antosha417/nvim-lsp-file-operations', + -- lazy = true, + -- }, + + { + "mikavilpas/yazi.nvim", + ---@type YaziConfig | {} + opts = {}, + cmd = { + "Yazi", + "Yazi cwd", + "Yazi toggle", + }, + }, +}