Compare commits

..

2 Commits

3 changed files with 14 additions and 2 deletions

View File

@ -11,6 +11,10 @@ def complete(t, opts):
return '(' + '|'.join(opts) + ')' return '(' + '|'.join(opts) + ')'
endglobal endglobal
snippet sizeof "sizeof" i
sizeof($1)$0
endsnippet
snippet i8 "int8_t" i snippet i8 "int8_t" i
int8_t int8_t
endsnippet endsnippet

View File

@ -62,7 +62,15 @@ snippet [] "Labmda function" i
endsnippet endsnippet
snippet static_assert "Static assert" snippet static_assert "Static assert"
static_assert($1, "$2"); static_assert($1${2:, "$3"});
endsnippet
snippet decltype "decltype" i
decltype($1)$0
endsnippet
snippet declval "declval" i
declval<$1>()$0
endsnippet endsnippet
snippet noisy "A noise class" snippet noisy "A noise class"

View File

@ -10,4 +10,4 @@ endif
if !platform#is_windows() || has("gui_running") if !platform#is_windows() || has("gui_running")
colorscheme fresh colorscheme fresh
endif endif
syntax sync minlines=500 syntax sync minlines=1000