You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 6, 2024. It is now read-only.
This is happening because you're matching all filenames and your autocmd is being run before filetype.nvim's. Not sure there's anything helpful I can do here except say that the second autocmd you provided is the "correct" way to do it, waiting for the filetype to resolve.
If have this autocmd in my config that sets a default filetype for a buffer if none is set:
This autocmd paired with filetype.nvim breaks the set of the filetype when the buffer is first read.
: e<cr>
fixes it.Not sure if this can be addressed or if there's a better way for me to set a default filetype, but I thought I'd bring it up!
The text was updated successfully, but these errors were encountered: