From 7058e647da5b87c4dcd3dfb696bd950551544be7 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Wed, 19 Jun 2019 14:01:26 -0700 Subject: [PATCH] fix modeline exploit --- .vim/options.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.vim/options.vim b/.vim/options.vim index ce8a6d8..1c10ec7 100644 --- a/.vim/options.vim +++ b/.vim/options.vim @@ -22,9 +22,11 @@ set ignorecase set incsearch set laststatus=2 set linebreak +set modelines=0 set mousemodel=popup set nobackup set nofoldenable +set nomodeline set noswapfile set nowrap set nowritebackup