From: Simon Ruderich Date: Tue, 8 Jun 2010 20:24:17 +0000 (+0200) Subject: vimrc: Add XPTemplate settings. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=41f073edef5893b4fa03cfb1648f0cc182265e30;p=config%2Fdotfiles.git vimrc: Add XPTemplate settings. --- diff --git a/vimrc b/vimrc index 58e50ac..0940c45 100644 --- a/vimrc +++ b/vimrc @@ -312,6 +312,17 @@ endif " Map toggle comment. map NERDCommenterToggle +" XPTemplate settings. +if has('eval') + " Try to maintain snippet rendering even after editing outside of a + " snippet. + let g:xptemplate_strict = 0 + " Don't complete any braces automatically. + let g:xptemplate_brace_complete = 0 + " Only highlight the current placeholder. + let g:xptemplate_highlight = 'current' +endif + " AUTO COMMANDS