Skip to content

Commit 467da36

Browse files
authored
feat: add group for qmd open autocmd. (#27)
1 parent 5140fc2 commit 467da36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/quarto/init.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ M.setup = function(opt)
138138

139139
api.nvim_create_autocmd({ "BufEnter" }, {
140140
pattern = { "*.qmd" },
141+
group = vim.api.nvim_create_augroup('QuartoSetup', {}),
142+
desc = 'set up quarto',
141143
callback = function()
142144
if M.config.lspFeatures.enabled and vim.bo.buftype ~= 'terminal' then
143145
M.activate()

0 commit comments

Comments
 (0)