emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/yasnippet-snippets f50b4c1 4/4: Merge pull request #420 fr


From: ELPA Syncer
Subject: [nongnu] elpa/yasnippet-snippets f50b4c1 4/4: Merge pull request #420 from Amorymeltzer/zeroquote
Date: Fri, 10 Sep 2021 16:57:53 -0400 (EDT)

branch: elpa/yasnippet-snippets
commit f50b4c16ca2a73fd04ebd301f0bf2f5ab6107d88
Merge: 288497c 7d91c94
Author: Andrea Crotti <andrea.crotti.0@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #420 from Amorymeltzer/zeroquote
    
    Avoid literal 0 in expansions
---
 snippets/fish-mode/sw | 2 +-
 snippets/js-mode/fin  | 2 +-
 snippets/js-mode/fof  | 2 +-
 snippets/js-mode/fre  | 2 +-
 snippets/js-mode/metb | 2 +-
 snippets/js-mode/pge  | 2 +-
 snippets/js-mode/pse  | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/snippets/fish-mode/sw b/snippets/fish-mode/sw
index 8d23c64..dffcbf4 100644
--- a/snippets/fish-mode/sw
+++ b/snippets/fish-mode/sw
@@ -4,5 +4,5 @@
 # --
 switch ${1:condition}
     case ${2:*}
-         ${0}
+         $0
 end
diff --git a/snippets/js-mode/fin b/snippets/js-mode/fin
index 1c907fc..c977bcf 100644
--- a/snippets/js-mode/fin
+++ b/snippets/js-mode/fin
@@ -6,5 +6,5 @@
 # --
 
 for(let ${1:item} in ${2:object}) {
-  ${0}
+  $0
 }
\ No newline at end of file
diff --git a/snippets/js-mode/fof b/snippets/js-mode/fof
index 7b11227..a0b2765 100644
--- a/snippets/js-mode/fof
+++ b/snippets/js-mode/fof
@@ -6,5 +6,5 @@
 # --
 
 for(let ${1:item} of ${2:object}) {
-  ${0}
+  $0
 }
\ No newline at end of file
diff --git a/snippets/js-mode/fre b/snippets/js-mode/fre
index ef90910..7840a43 100644
--- a/snippets/js-mode/fre
+++ b/snippets/js-mode/fre
@@ -6,5 +6,5 @@
 # --
 
 ${1:array}.forEach(${2:currentItem} => {
-  ${0}
+  $0
 })
\ No newline at end of file
diff --git a/snippets/js-mode/metb b/snippets/js-mode/metb
index 78ccc42..19b3830 100644
--- a/snippets/js-mode/metb
+++ b/snippets/js-mode/metb
@@ -6,5 +6,5 @@
 # --
 
 ${1:methodName} = (${2:params}) => {
-  ${0}
+  $0
 }
\ No newline at end of file
diff --git a/snippets/js-mode/pge b/snippets/js-mode/pge
index 0e83cde..e663daf 100644
--- a/snippets/js-mode/pge
+++ b/snippets/js-mode/pge
@@ -6,5 +6,5 @@
 # --
 
 get ${1:propertyName}() {
-  return this.${0}
+  return this.${2:propertyName}
 }
\ No newline at end of file
diff --git a/snippets/js-mode/pse b/snippets/js-mode/pse
index dc35957..0ab567b 100644
--- a/snippets/js-mode/pse
+++ b/snippets/js-mode/pse
@@ -6,5 +6,5 @@
 # --
 
 set ${1:propertyName}(${2:value}) {
-  ${0}
+  $0
 }
\ No newline at end of file



reply via email to

[Prev in Thread] Current Thread [Next in Thread]