适配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,8 +1,16 @@
return {
"folke/flash.nvim",
event = "VeryLazy",
event = "VeryLazy",
config = function()
require('flash').setup {
-- 下面映射可以通过<esc>取消f和t但是会覆盖原本的退出可视模式等功能
-- local map = vim.keymap.set
-- map({ "n", "x", "o" }, "<esc>", function()
-- local char = require("flash.plugins.char")
-- if char.state then
-- char.state:hide()
-- end
-- end, { desc = "Cancel Flash Char" })
require("flash").setup({
labels = "arstdhneioqwfpgjluyzxcvbkm",
modes = {
-- options used when flash is activated through
@ -12,8 +20,7 @@ return {
-- You can always toggle when searching with `require("flash").toggle()`
enabled = false,
},
}
}
end
},
})
end,
}