Skip to content

Commit 6b7224a

Browse files
committed
remove redundant check
1 parent 384e430 commit 6b7224a

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
@@ -804,7 +804,7 @@ return {
804804
group = vim.api.nvim_create_augroup('Phoenix', { clear = true }),
805805
pattern = Config.filetypes,
806806
callback = function(args)
807-
if vim.bo[args.buf].filetype == '' or vim.bo[args.buf].buftype == 'nofile' then
807+
if vim.bo[args.buf].buftype == 'nofile' then
808808
return
809809
end
810810

0 commit comments

Comments
 (0)