Keep snippet vars definitions in a single format across all snippets and documentation.

The format is:

# var-name: value

Previously snippets used a mixture of the following formatting:

#var-name: value
#var-name : value
# var-name: value
# var-name : value
This commit is contained in:
Jim Myhrberg
2011-11-03 20:51:31 +00:00
parent acf84b2fe4
commit 09cc3eec21
533 changed files with 1180 additions and 1180 deletions

View File

@@ -1,4 +1,4 @@
#name : FILE *fp = fopen(..., ...);
# name: FILE *fp = fopen(..., ...);
# key: fopen
# --
FILE *${fp} = fopen(${"file"}, "${r}");

View File

@@ -1,6 +1,6 @@
# -*- mode: snippet -*-
# name : printf
# contributor : joaotavora
# name: printf
# contributor: joaotavora
# key: printf
# --
printf ("${1:%s}\\n"${1:$(if (string-match "%" text) "," "\);")