1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 00:40:04 +08:00

fix(indent-blankline): use schedule_wrap

This commit is contained in:
Eric Wong 2025-01-03 00:07:46 +08:00
parent 01d493a2b6
commit e69a06b5a3
2 changed files with 7 additions and 2 deletions

View File

@ -14,7 +14,12 @@ M.init = function()
utils.reset_highlights()
require("indent_blankline.commands").refresh(true)
local f = vim.schedule_wrap(function()
require("indent_blankline.commands").refresh(true)
end)
f()
end
M.setup = function(options)

View File

@ -68,6 +68,7 @@ These plugins are changed based on a specific version of origin plugin.
#### `ui` layer
- `vim-startify`: based on [mhinz/vim-startify@4e089dffd](https://github.com/mhinz/vim-startify/tree/4e089dffdad46f3f5593f34362d530e8fe823dcf)
- `indent-blankline`: based on [indent-blankline.nvim@045d958](https://github.com/lukas-reineke/indent-blankline.nvim/tree/045d9582094b27f5ae04d8b635c6da8e97e53f1d)
#### `chat` layer
@ -113,7 +114,6 @@ These plugins are changed based on a specific version of origin plugin.
#### `ui` layer
- [indent-blankline.nvim@045d958](https://github.com/lukas-reineke/indent-blankline.nvim/tree/045d9582094b27f5ae04d8b635c6da8e97e53f1d)
#### `checkers` layer