From c2200099c162c9cff5b21d3dae3cfae326ef31dc Mon Sep 17 00:00:00 2001 From: tofulm Date: Wed, 22 Jan 2020 11:27:23 +0100 Subject: [PATCH] ajout autorisation php dans le html --- UltiSnips/html.snippets | 6 ++++++ html.json | 9 +++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/UltiSnips/html.snippets b/UltiSnips/html.snippets index df311e3..a84bbfd 100755 --- a/UltiSnips/html.snippets +++ b/UltiSnips/html.snippets @@ -4,6 +4,12 @@ extends fa ########## ## SPIP ## ########## +snippet php "Autorisation + ${1:${VISUAL}} + +endsnippet #BOUCLE : #------------------------------------------------------ diff --git a/html.json b/html.json index 651bed1..806cd8c 100644 --- a/html.json +++ b/html.json @@ -1,12 +1,17 @@ { + "php": { + "prefix": "php", + "body": "\n\t1\n", + "description": "Autorisation \n\t$0\n", + "body": "`!p t[2] = t[2].upper()`\n\t$0\n", "description": "SPIP " }, "bb": { "prefix": "bb", - "body": "\n\t${5}\n\n\t$0\n\n\t${6}\n", + "body": "`!p t[2] = t[2].upper()`\n\t${5}\n\n\t$0\n\n\t${6}\n", "description": "SPIP " }, "icon": {