From 3a60c0abcfb54af58207d1c2276225a3e6c13d44 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Fri, 30 Nov 2018 17:46:02 +0000 Subject: [PATCH] Improve static_assert snippet & increase sync minlines --- UltiSnips/cpp.snippets | 2 +- plugin/color.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/UltiSnips/cpp.snippets b/UltiSnips/cpp.snippets index 2a7a855..0d3405d 100644 --- a/UltiSnips/cpp.snippets +++ b/UltiSnips/cpp.snippets @@ -62,7 +62,7 @@ snippet [] "Labmda function" i endsnippet snippet static_assert "Static assert" -static_assert($1, "$2"); +static_assert($1${2:, "$3"}); endsnippet snippet decltype "decltype" i diff --git a/plugin/color.vim b/plugin/color.vim index 8077b02..9de36b3 100644 --- a/plugin/color.vim +++ b/plugin/color.vim @@ -10,4 +10,4 @@ endif if !platform#is_windows() || has("gui_running") colorscheme fresh endif -syntax sync minlines=500 +syntax sync minlines=1000