Skip to content

Commit

Permalink
perf(sources.markdown): don't update in insert mode by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Bekaboo committed Jan 24, 2025
1 parent f7b4958 commit dcb1b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/dropbar/sources/markdown.lua
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ local function attach(buf)
parse_buf(buf, cursor[1])
end
vim.b[buf].dropbar_markdown_heading_parser_attached = vim.api.nvim_create_autocmd(
{ 'TextChanged', 'TextChangedI' },
configs.opts.bar.update_events.buf,
{
desc = 'Update markdown heading symbols on buffer change.',
group = groupid,
Expand Down

0 comments on commit dcb1b81

Please sign in to comment.