Skip to content

Instantly share code, notes, and snippets.

@pgilad pgilad/.vimrc
Created Oct 27, 2019

Embed
What would you like to do?
Securely support `modelines` in Vim
" https://github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.md#patches
if has('patch-8.1.1366')
set modelines=5
set nomodelineexpr
set modeline
else
set nomodeline
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.