From ed477ab1941771cf9a96ab54d7f8fea9ba05ac94 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 8 Jun 2009 16:01:59 +0200 Subject: [PATCH] vimrc: Recognize latin1 encoded files. --- vimrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index 8b44898..b200fa4 100644 --- a/vimrc +++ b/vimrc @@ -32,8 +32,9 @@ if has('autocmd') filetype plugin indent on endif -" Use UTF-8 file encoding for all files. -set fileencodings=utf-8 +" Use UTF-8 file encoding for all files. Automatically recognize latin1 in +" existing files. +set fileencodings=utf-8,latin1 " Wrap text after 78 characters. set textwidth=78 -- 2.44.2