summaryrefslogtreecommitdiff
path: root/runtime/evim.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/evim.vim')
-rw-r--r--runtime/evim.vim21
1 files changed, 8 insertions, 13 deletions
diff --git a/runtime/evim.vim b/runtime/evim.vim
index 7bfebcd16..4a875ee91 100644
--- a/runtime/evim.vim
+++ b/runtime/evim.vim
@@ -1,6 +1,6 @@
" Vim script for Evim key bindings
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2017 Sep 20
+" Last Change: 2019 Jan 27
" Don't use Vi-compatible mode.
set nocompatible
@@ -49,19 +49,14 @@ if &t_Co > 2 || has("gui_running")
nohlsearch
endif
-" Only do this part when compiled with support for autocommands.
-if has("autocmd")
+" Enable file type detection.
+" Use the default filetype settings, so that mail gets 'tw' set to 72,
+" 'cindent' is on in C files, etc.
+" Also load indent files, to automatically do language-dependent indenting.
+filetype plugin indent on
- " Enable file type detection.
- " Use the default filetype settings, so that mail gets 'tw' set to 72,
- " 'cindent' is on in C files, etc.
- " Also load indent files, to automatically do language-dependent indenting.
- filetype plugin indent on
-
- " For all text files set 'textwidth' to 78 characters.
- au FileType text setlocal tw=78
-
-endif " has("autocmd")
+" For all text files set 'textwidth' to 78 characters.
+au FileType text setlocal tw=78
" Add optional packages.
"