[gnome-builder] snippets: remove struct/union/enum snippets



commit 3d0bb24601a58cb784e410db1a06611618cae0e3
Author: Christian Hergert <chergert redhat com>
Date:   Thu Aug 9 10:05:11 2018 -0700

    snippets: remove struct/union/enum snippets
    
    These are really annoying because they activate in situations that we dont
    want like:
    
      typedef struct|ENTER
    
    However, others like if/else/while/etc are fine because they require a
    condition to follow them.

 data/snippets/c.snippets | 18 ------------------
 1 file changed, 18 deletions(-)
---
diff --git a/data/snippets/c.snippets b/data/snippets/c.snippets
index 3df30bce5..9f0fcf218 100644
--- a/data/snippets/c.snippets
+++ b/data/snippets/c.snippets
@@ -5,24 +5,6 @@ snippet Widget
 snippet function_prefix
 - scope c, chdr
        ${$filename|stripsuffix|functify}_
-snippet struct
-- scope c, chdr
-       typedef struct
-       {
-               $0
-       } ${1:StructName};
-snippet union
-- scope c, chdr
-       typedef union
-       {
-               $0
-       } ${1:UnionName};
-snippet enum
-- scope c, chdr
-       typedef enum
-       {
-               $0
-       } ${1:EnumName};
 snippet fn
 - scope c, chdr
 - desc Create function


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]