From fe3c0d3c451bc32c0b11687eaa9d765b57df4df0 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 1 Jul 2015 08:51:25 -0300 Subject: Really turn off modelines --- vimrc.dot.link | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vimrc.dot.link b/vimrc.dot.link index f7e3a67..949c8b0 100644 --- a/vimrc.dot.link +++ b/vimrc.dot.link @@ -82,7 +82,11 @@ syntax on filetype plugin indent on " No modelines +" https://lwn.net/Articles/20249/ +" http://usevim.com/2012/03/28/modelines/ +" http://www.techrepublic.com/blog/it-security/turn-off-modeline-support-in-vim/ set nomodeline +set modelines=0 " Syntax check let g:syntastic_mode_map = { 'mode': 'passive', -- cgit v1.2.3