mirror of
https://github.com/cap153/nvim.git
synced 2026-05-11 17:35:59 +08:00
添加折叠插件
This commit is contained in:
parent
3b19a9c8a8
commit
ba406e9e0e
5 changed files with 113 additions and 19 deletions
|
|
@ -30,6 +30,10 @@ local function load_plugin()
|
|||
},
|
||||
})
|
||||
end)
|
||||
-- 提前触发 BufReadPost 的事件钩子,让 LSP 悄悄在后台 require 完毕
|
||||
vim.schedule(function()
|
||||
vim.api.nvim_exec_autocmds("BufReadPost", { modeline = false })
|
||||
end)
|
||||
end
|
||||
|
||||
vim.keymap.set({ "n", "v" }, "<c-t>", function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue