Use securemodelines plugin instead.
set runtimepath-=~/.vim
set runtimepath^=~/.vim,~/.vim/plugins,~/.vim/runtime
set runtimepath-=~/.vim
set runtimepath^=~/.vim,~/.vim/plugins,~/.vim/runtime
+" Disable modelines as they may cause security problems. Instead use
+" securemodelines (Vim script #1876).
+set nomodeline
+
" When completing paths first use the longest path then display a list of all
" possible files.
set wildmode=longest,list
" When completing paths first use the longest path then display a list of all
" possible files.
set wildmode=longest,list