Skip to content

Commit d193868

Browse files
committed
ignore attach empty buftype
1 parent 26549bc commit d193868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/phoenix/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ return {
803803
vim.api.nvim_create_autocmd('FileType', {
804804
pattern = Config.filetypes,
805805
callback = function(args)
806-
if vim.bo[args.buf].filetype == '' then
806+
if vim.bo[args.buf].buftype == '' then
807807
return
808808
end
809809

0 commit comments

Comments
 (0)