# HG changeset patch # User Steve Losh # Date 1376952910 25200 # Node ID 10f4bf76eddda27da7e273fc26a31a96aef97b9d # Parent a0e689e096eb96c2c60d4072b24ad2cd5ec2d629 Add securemodelines diff -r a0e689e096eb -r 10f4bf76eddd .hgsub --- a/.hgsub Fri Aug 16 12:02:53 2013 -0400 +++ b/.hgsub Mon Aug 19 15:55:10 2013 -0700 @@ -29,6 +29,7 @@ vim/bundle/repeat = [git]git://github.com/tpope/vim-repeat.git vim/bundle/scala = [git]git://github.com/sjl/vim-scala.git vim/bundle/scaladoc = [git]git://github.com/sjl/vim-scaladoc.git +vim/bundle/securemodelines = [git]git://github.com/ciaranm/securemodelines.git vim/bundle/smartinput = [git]git://github.com/kana/vim-smartinput.git vim/bundle/sparkup = [git]git://github.com/sjl/vim-sparkup.git vim/bundle/splice = [hg]https://bitbucket.org/sjl/splice.vim diff -r a0e689e096eb -r 10f4bf76eddd .hgsubstate --- a/.hgsubstate Fri Aug 16 12:02:53 2013 -0400 +++ b/.hgsubstate Mon Aug 19 15:55:10 2013 -0700 @@ -29,6 +29,7 @@ 613eb1c81261adfa5dead315089c432ff6dbbc51 vim/bundle/repeat cfc1a90540f648492086a20e39fde7514c469fa7 vim/bundle/scala 1f797fda2c457202cf62d9a082a3fccd4278e3bf vim/bundle/scaladoc +10d6c6b52fcdd12f3ba457126f66fee4ccceec04 vim/bundle/securemodelines 78ab4b3df24fa2753d3dfc1be75ed5a3df1565b8 vim/bundle/smartinput c6197a10ace82e0fe0c08e5cf5c017b7069a978e vim/bundle/sparkup 01e68795c7a14b97ec2ebbd70b0fcb42d1adac61 vim/bundle/splice diff -r a0e689e096eb -r 10f4bf76eddd vim/vimrc --- a/vim/vimrc Fri Aug 16 12:02:53 2013 -0400 +++ b/vim/vimrc Mon Aug 19 15:55:10 2013 -0700 @@ -1380,6 +1380,14 @@ nnoremap :ScratchToggle " }}} +" Secure Modelines {{{ + +let g:secure_modelines_allowed_items = [ + \ "textwidth", "tw", + \ "foldmethod", "fdm", + \ ] + +" }}} " Sparkup {{{ let g:sparkupNextMapping = ''