From 782ffa72bf459c10c2a74004263a4d2b49b7905f Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 27 Jul 2017 20:41:12 -0400 Subject: snippets: Remove redundant (or nearly redundant) names The name field defaults to the file name, so don't bother explicitly specifying a name field that matches or nearly matches the file name. --- snippets/ess-mode/command-args | 1 - snippets/ess-mode/datatable | 1 - snippets/ess-mode/dplyr | 1 - snippets/ess-mode/ggplot2 | 1 - snippets/ess-mode/lme4 | 1 - snippets/ess-mode/par | 1 - snippets/ess-mode/rscript-shebang | 1 - 7 files changed, 7 deletions(-) (limited to 'snippets/ess-mode') diff --git a/snippets/ess-mode/command-args b/snippets/ess-mode/command-args index 87b6643..43b6346 100644 --- a/snippets/ess-mode/command-args +++ b/snippets/ess-mode/command-args @@ -1,5 +1,4 @@ # -*- mode: snippet -*- -# name: command args # key: cargs # -- args <- commandArgs(trailingOnly = TRUE) diff --git a/snippets/ess-mode/datatable b/snippets/ess-mode/datatable index a77253b..c5d7412 100644 --- a/snippets/ess-mode/datatable +++ b/snippets/ess-mode/datatable @@ -1,5 +1,4 @@ # -*- mode: snippet -*- -# name: data.table # key: dt # group: imports # -- diff --git a/snippets/ess-mode/dplyr b/snippets/ess-mode/dplyr index 1c5024d..db26ea1 100644 --- a/snippets/ess-mode/dplyr +++ b/snippets/ess-mode/dplyr @@ -1,5 +1,4 @@ # -*- mode: snippet -*- -# name: dplyr # key: dp # group: imports # -- diff --git a/snippets/ess-mode/ggplot2 b/snippets/ess-mode/ggplot2 index 55a5bc6..1b27aa6 100644 --- a/snippets/ess-mode/ggplot2 +++ b/snippets/ess-mode/ggplot2 @@ -1,5 +1,4 @@ # -*- mode: snippet -*- -# name: ggplot2 # key: gg # group: imports # -- diff --git a/snippets/ess-mode/lme4 b/snippets/ess-mode/lme4 index 2a54c58..496775e 100644 --- a/snippets/ess-mode/lme4 +++ b/snippets/ess-mode/lme4 @@ -1,5 +1,4 @@ # -*- mode: snippet -*- -# name: lme4 # key: lme # group: imports # -- diff --git a/snippets/ess-mode/par b/snippets/ess-mode/par index 5808d9c..52540b8 100644 --- a/snippets/ess-mode/par +++ b/snippets/ess-mode/par @@ -1,5 +1,4 @@ # -*- mode: snippet -*- -# name: par # key: par # -- par(mfrow=c(2, 3)) \ No newline at end of file diff --git a/snippets/ess-mode/rscript-shebang b/snippets/ess-mode/rscript-shebang index 7b47645..bb0dd63 100644 --- a/snippets/ess-mode/rscript-shebang +++ b/snippets/ess-mode/rscript-shebang @@ -1,5 +1,4 @@ # -*- mode: snippet -*- -# name: Rscript shebang # key: sb # -- #!/usr/bin/env Rscript -- cgit v1.2.3