aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 2044ff6..893061e 100644
--- a/vimrc
+++ b/vimrc
@@ -426,6 +426,9 @@
" 2019.06.07:
" * Move RSpec mappings to ftplugin/ruby.vim.
"
+" 2019.06.16:
+" * Disable modelines for CVE-2019-12735.
+"
" Pathogen
@@ -492,6 +495,10 @@ set backupcopy=yes
" Turn on persistent undo
set undofile
+" CVE-2019-12735
+set modelines=0
+set nomodeline
+
" Disable all default ftplugins
" http://vim.wikia.com/wiki/File_type_plugins#Disabling_default_ftplugins
" http://stackoverflow.com/questions/11337129/setting-buffer-specific-variables-in-vim#comment14956146_11351393