Created
October 9, 2015 15:59
-
-
Save splhack/3e4f6981b4ff73284442 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| diff --git a/src/fileio.c b/src/fileio.c | |
| index 45804e3..71d6fea 100644 | |
| --- a/src/fileio.c | |
| +++ b/src/fileio.c | |
| @@ -1263,6 +1263,7 @@ retry: | |
| } | |
| } | |
| +# ifdef FEAT_EVAL | |
| /* | |
| * Try to guess encoding of the file. | |
| */ | |
| @@ -1271,6 +1272,7 @@ retry: | |
| if (guess_encode(&fenc, &fenc_alloced, fname) != 0) | |
| set_internal_string_var("b:x_guessed_fileencoding", fenc); | |
| } | |
| +# endif | |
| /* | |
| * Conversion may be required when the encoding of the file is different |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment