适配neovim 0.11

1. 更改使用的主题
2. 更改底部状态栏样式
3. 更换彩虹括号插件适配neovim 0.11
4. 更换彩虹缩进样式
5. 添加lock文件
This commit is contained in:
a770 2025-05-10 20:43:44 +08:00
parent 1a430bf24b
commit 38bedd3beb
17 changed files with 259 additions and 425 deletions

View file

@ -1,13 +1,50 @@
-- ===
-- === explorer tree 文件列表
-- === explorer tree 文件列表
-- ===
---@type LazySpec
return {
"mikavilpas/yazi.nvim", -- 使用yazi替代joshuto和ranger,仍然使用fm-nvim来启动lazygit
"mikavilpas/yazi.nvim",
event = "VeryLazy",
keys = {
{ "tt", "<cmd>Yazi<CR>", desc = "Toggle Yazi" },
dependencies = {
-- check the installation instructions at
-- https://github.com/folke/snacks.nvim
"folke/snacks.nvim",
},
config = function()
end
keys = {
-- 👇 in this section, choose your own keymappings!
{
"tt",
mode = { "n", "v" },
"<cmd>Yazi<cr>",
desc = "Open yazi at the current file",
},
},
---@type YaziConfig | {}
opts = {
-- if you want to open yazi instead of netrw, see below for more info
open_for_directories = false,
keymaps = {
show_help = "<f1>",
},
},
-- 👇 if you use `open_for_directories=true`, this is recommended
init = function()
-- More details: https://github.com/mikavilpas/yazi.nvim/issues/802
-- vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
end,
}
-- return {
-- "rolv-apneseth/tfm.nvim",
-- event = "VeryLazy",
-- opts = {
-- enable_cmds = true,
-- },
-- keys = {
-- {
-- "tt",
-- ":Tfm<CR>",
-- desc = "TFM - new tab",
-- },
-- },
-- }