indentscope in fzf-lua #1471
-
Contributing guidelines
Module(s)mini.indentscope QuestionMini indentscope renders here. I have no idea why. I could disable it with this: local disableIndent = function(args) vim.b[args.buf].miniindentscope_disable = true end
vim.api.nvim_create_autocmd('Filetype', { pattern = 'fzf', callback = disableIndent })
Is this a bug? Is there a better solution? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I can not reproduce this. Have you tried updating 'fzf-lua' to the latest Disabling it in 'fzf' filetype is a suggested solution here. The slightly better approach would be to just put |
Beta Was this translation helpful? Give feedback.
-
It is a bit hard to reproduce. |
Beta Was this translation helpful? Give feedback.
I can not reproduce this. Have you tried updating 'fzf-lua' to the latest
main
? There were attempts at implementing "Normal-terminal" which might trigger 'mini.indentscope' animation (as there areModeChanged
event triggers).Disabling it in 'fzf' filetype is a suggested solution here. The slightly better approach would be to just put
vim.b.miniindentscope_disable = true
inside '~/.config/nvim/after/ftplugin/fzf.lua'.