Skip to content

Commit

Permalink
refactor: lazy-load on FileType event
Browse files Browse the repository at this point in the history
  • Loading branch information
Bekaboo committed Jan 13, 2025
1 parent 9f6a19a commit e3b2dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/dropbar.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
vim.api.nvim_create_autocmd({ 'BufReadPost', 'BufNewFile', 'BufWritePost' }, {
vim.api.nvim_create_autocmd('FileType', {
once = true,
group = vim.api.nvim_create_augroup('DropBarSetup', {}),
callback = function()
Expand Down

0 comments on commit e3b2dff

Please sign in to comment.