From: Silvio Rhatto Date: Wed, 1 Jul 2015 11:51:25 +0000 (-0300) Subject: Really turn off modelines X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=fe3c0d3c451bc32c0b11687eaa9d765b57df4df0;p=rhatto%2Fdotfiles%2Fvim.git Really turn off modelines --- 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',