10f4bf76eddd
Add securemodelines
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Mon, 19 Aug 2013 15:55:10 -0700 |
parents | a0e689e096eb |
children | 45a5bbee63bd |
branches/tags | (none) |
files | .hgsub .hgsubstate vim/vimrc |
Changes
--- 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
--- 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
--- 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 <silent> <leader><tab> :ScratchToggle<cr> " }}} +" Secure Modelines {{{ + +let g:secure_modelines_allowed_items = [ + \ "textwidth", "tw", + \ "foldmethod", "fdm", + \ ] + +" }}} " Sparkup {{{ let g:sparkupNextMapping = '<c-s>'