Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
store b:changedtick after setting &filetype
FileType autocmd handlers may modify the buffer, that is considered an "internal change", not a "user change". Don't set &filetype if we are not reloading the buffer. It doesn't make sense to trigger FileType autocmd handlers if we merely navigated to an existing, loaded buffer. ref #102
- Loading branch information