From ea1faa7eb9aab115376d78074d0d910424a62a38 Mon Sep 17 00:00:00 2001 From: oreodave Date: Wed, 24 Jul 2019 00:09:37 +0100 Subject: +config from doom emacs - to configure --- doom.d/snippets/csharp-mode/prop | 6 ++++++ doom.d/snippets/snippet-mode/prop/*prop* | 33 ++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 doom.d/snippets/csharp-mode/prop create mode 100644 doom.d/snippets/snippet-mode/prop/*prop* (limited to 'doom.d/snippets') diff --git a/doom.d/snippets/csharp-mode/prop b/doom.d/snippets/csharp-mode/prop new file mode 100644 index 0000000..e750673 --- /dev/null +++ b/doom.d/snippets/csharp-mode/prop @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: Property +# key: prop +# condition: t +# -- +public ${1:int} ${2:property} { get; set; }$0 \ No newline at end of file diff --git a/doom.d/snippets/snippet-mode/prop/*prop* b/doom.d/snippets/snippet-mode/prop/*prop* new file mode 100644 index 0000000..9b7af0f --- /dev/null +++ b/doom.d/snippets/snippet-mode/prop/*prop* @@ -0,0 +1,33 @@ +#contributor : Alejandro Espinoza Esparza +#name : property ... ... { ... } +# key: cpro#contributor : Alejandro Espinoza Esparza +#name : property ... ... { ... } +# key: cprop +# -- +/// +/// $5 +/// +/// $6 +$1 $2 $3 +{ + get { + return this.$4; + } + set { + this.$4 = value; + } +}p +# -- +/// +/// $5 +/// +/// $6 +$1 $2 $3 +{ + get { + return this.$4; + } + set { + this.$4 = value; + } +} \ No newline at end of file -- cgit v1.2.3-13-gbd6f