Skip to content

Commit

Permalink
chore(mods): disable animation in help page, since i do not use terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnwriter committed Nov 11, 2024
1 parent d833666 commit ee90205
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lua/modules.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ end
-- Autocommands
function M.autocmds()
local autocmd = vim.api.nvim_create_autocmd

vim.b.miniindentscope_disable = true
autocmd("TermOpen", {
desc = "Disable 'mini.indentscope' in terminal buffer",
autocmd("FileType", {
pattern = "help",
desc = "Disable 'mini.indentscope' help page",
callback = function(data)
vim.b[data.buf].miniindentscope_disable = true
end,
end
})
end

Expand Down

0 comments on commit ee90205

Please sign in to comment.