Browse code

XenAPI: Fix vimrc

DevStack installs a default minimal .vimrc file for the stack user.
Unfortunately the `syntax on` config line is not recognised by the vim
installed in DomU. It results in an annoying message being displayed
whenever the user is using vi. To avoid this issue, removing the `syntax
on` line.

Change-Id: I224465cc3cdba3464ea0a9a751f250ecb6ddc9f3

Mate Lakat authored on 2014/10/15 23:56:23
Showing 1 changed files
... ...
@@ -114,7 +114,6 @@ function setup_vimrc {
114 114
     if [ ! -e $1 ]; then
115 115
         # Simple but usable vimrc
116 116
         cat > $1 <<EOF
117
-syntax on
118 117
 se ts=4
119 118
 se expandtab
120 119
 se shiftwidth=4