From d7839912bee26fa2aea27bb286de2dad0b03c567 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sun, 11 Apr 2021 19:14:30 +0200 Subject: [PATCH] Add 'scheme' snippets --- .vim/snips/scheme.snippets | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .vim/snips/scheme.snippets diff --git a/.vim/snips/scheme.snippets b/.vim/snips/scheme.snippets new file mode 100644 index 0000000..b8e3828 --- /dev/null +++ b/.vim/snips/scheme.snippets @@ -0,0 +1,20 @@ +snippet reqtrace "(#%require racket/trace)" b +(#%require racket/trace) +endsnippet + +snippet strln "(string-length )" b +(string-length $0) +endsnippet + +snippet impb "Import rnrs base libraries" b +(import (rnrs base (6)) + (rnrs io simple)$0) +endsnippet + +snippet def "(define )" b +(define $0 $1) +endsnippet + +snippet defp "(define ( ))" b +(define ($0 $1)) +endsnippet