mirror of
https://github.com/cap153/nvim.git
synced 2026-01-10 05:22:39 +08:00
适配neovim 0.11
1. 更改使用的主题 2. 更改底部状态栏样式 3. 更换彩虹括号插件适配neovim 0.11 4. 更换彩虹缩进样式 5. 添加lock文件
This commit is contained in:
parent
1a430bf24b
commit
38bedd3beb
17 changed files with 259 additions and 425 deletions
|
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue