Skip to content

Commit 4a09b98

Browse files
author
jghauser
committed
fix(init): only ever run loadPapis autocmd once
1 parent 2f20b35 commit 4a09b98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/papis/init.lua

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ local log
1313
local function make_start_autocmd()
1414
local load_papis = api.nvim_create_augroup("loadPapis", { clear = true })
1515
api.nvim_create_autocmd("FileType", {
16+
once = true,
1617
pattern = config["init_filetypes"],
1718
callback = require("papis").start,
1819
group = load_papis,

0 commit comments

Comments
 (0)