Closed ofseed closed 4 months ago
If the user writes a new file by nvim <new_file_name>, the BufReadPost will not be triggered, instead, BufNewFile will be triggered.
nvim <new_file_name>
BufReadPost
BufNewFile
And it seems that there are some problems with these tests, The tests failed once but after I triggered it again it was fixed.
Thanks for the fix!
If the user writes a new file by
nvim <new_file_name>
, theBufReadPost
will not be triggered, instead,BufNewFile
will be triggered.