From 41f073edef5893b4fa03cfb1648f0cc182265e30 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 8 Jun 2010 22:24:17 +0200 Subject: [PATCH] vimrc: Add XPTemplate settings. --- vimrc | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- 2.45.2