From 506cf288bdc698ae61faf064af0093fdcfccc73c Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 11 Dec 2014 11:31:23 -0500 Subject: [PATCH] Skip regexp when selecting form for cpp Closes #188. --- plugin/fireplace.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/fireplace.vim b/plugin/fireplace.vim index 3d6f988..7cc5638 100644 --- a/plugin/fireplace.vim +++ b/plugin/fireplace.vim @@ -812,7 +812,7 @@ augroup END " Section: Eval -let fireplace#skip = 'synIDattr(synID(line("."),col("."),1),"name") =~? "comment\\|string\\|char"' +let fireplace#skip = 'synIDattr(synID(line("."),col("."),1),"name") =~? "comment\\|string\\|char\\|regexp"' function! s:opfunc(type) abort let sel_save = &selection