mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
fix(ui): actually disable mini-indentscope on snacks_dashboard (#4947)
## Description Disables mini.indentscope for the buffer on which the `SnacksDashboardOpened` autocmd is called. ## Related Issue(s) closes #4944 ## Checklist - [x] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines.
This commit is contained in:
parent
097b9e2f27
commit
bfe29fb013
1 changed files with 7 additions and 0 deletions
|
@ -34,6 +34,13 @@ return {
|
|||
vim.b.miniindentscope_disable = true
|
||||
end,
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd("User", {
|
||||
pattern = "SnacksDashboardOpened",
|
||||
callback = function(data)
|
||||
vim.b[data.buf].miniindentscope_disable = true
|
||||
end,
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue