summaryrefslogtreecommitdiff
path: root/templates/snippets/rustic-mode
diff options
context:
space:
mode:
authorbenj <benj@rse8.com>2023-11-25 10:02:42 -0800
committerbenj <benj@rse8.com>2023-11-25 10:02:42 -0800
commit4cfa8246ea7eec4139ba6c34d3fb3a4545956824 (patch)
tree450ba709847d3740eef79753c428095bdb08fe62 /templates/snippets/rustic-mode
parent4f78ee33bfc828707a79cd79d296bf4a9c25b5b9 (diff)
downloademacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.gz
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.bz2
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.lz
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.xz
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.tar.zst
emacs-4cfa8246ea7eec4139ba6c34d3fb3a4545956824.zip
rewrite emacs init.el and go back to basics
This is a complete rewrite leveraging the very popular use-package to see how I like it. We reduce init.el to a bare minimum configuration and remove the previous homebrew organizational scheme. A number of packages have yet to be setup, but we'll wait and do in JIT.
Diffstat (limited to '')
-rw-r--r--templates/snippets/rustic-mode/assert4
-rw-r--r--templates/snippets/rustic-mode/assert_eq5
-rw-r--r--templates/snippets/rustic-mode/derive_debug5
-rw-r--r--templates/snippets/rustic-mode/print_debug5
-rw-r--r--templates/snippets/rustic-mode/test8
5 files changed, 0 insertions, 27 deletions
diff --git a/templates/snippets/rustic-mode/assert b/templates/snippets/rustic-mode/assert
deleted file mode 100644
index 4d823f3..0000000
--- a/templates/snippets/rustic-mode/assert
+++ /dev/null
@@ -1,4 +0,0 @@
-me : assert
-#key : as
-# --
-assert!(${1:truth});
diff --git a/templates/snippets/rustic-mode/assert_eq b/templates/snippets/rustic-mode/assert_eq
deleted file mode 100644
index 18e9e8b..0000000
--- a/templates/snippets/rustic-mode/assert_eq
+++ /dev/null
@@ -1,5 +0,0 @@
-# -*- mode: snippet -*-
-#name : assert_eq
-#key : ase
-# --
-assert_eq!(${1:a}, ${2:b});
diff --git a/templates/snippets/rustic-mode/derive_debug b/templates/snippets/rustic-mode/derive_debug
deleted file mode 100644
index 6d64312..0000000
--- a/templates/snippets/rustic-mode/derive_debug
+++ /dev/null
@@ -1,5 +0,0 @@
-# -*- mode: snippet -*-
-# name: derive-debug
-# key: debug
-# --
-#[derive(Debug)]
diff --git a/templates/snippets/rustic-mode/print_debug b/templates/snippets/rustic-mode/print_debug
deleted file mode 100644
index 5ae259f..0000000
--- a/templates/snippets/rustic-mode/print_debug
+++ /dev/null
@@ -1,5 +0,0 @@
-# -*- mode: snippet -*-
-# name: println!("{:#?}", value);
-# key: log
-# --
-println!("{:#?}", ${1:value});
diff --git a/templates/snippets/rustic-mode/test b/templates/snippets/rustic-mode/test
deleted file mode 100644
index 837276f..0000000
--- a/templates/snippets/rustic-mode/test
+++ /dev/null
@@ -1,8 +0,0 @@
-# -*- mode: snippet -*-
-# name: test
-# key: test
-# --
-#[test]
-fn it_works() {
- assert_eq!(2 + 2, 4);
-}