summaryrefslogtreecommitdiff
path: root/runtime/evim.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-02-03 15:27:20 +0100
committerBram Moolenaar <Bram@vim.org>2019-02-03 15:27:20 +0100
commit314dd79cac2adc10304212d1980d23ecf6782cfc (patch)
tree8295f63e75dc7e7983500435f5b2af061264cb80 /runtime/evim.vim
parent63d1fea8141c3dfb36aeb9de60e5f1f90450acff (diff)
downloadvim-git-314dd79cac2adc10304212d1980d23ecf6782cfc.tar.gz
Update runtime files.
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.
"