-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
charset: if we changed fenc from '' to enc, set nomodified
If the buffer had no fileencoding, and we changed fenc to match the Vim-wide encoding, we haven't actually changed the file. However, we have set modified on the buffer by virtue of assigning fenc. In this case, set nomodified since we didn't actually change anything. This affects new buffers created during the VimEnter autocmd.
- Loading branch information
Showing
1 changed file
with
40 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters