adding some tweaks to eglot and cape and tempel

This commit is contained in:
Chris Cochrun 2024-01-18 14:41:14 -06:00
parent 03d4799f01
commit 9155495918
3 changed files with 54 additions and 0 deletions

View file

@ -178,3 +178,25 @@ nix-mode
ledger-mode
(contribution "2023-10-01 Contributions" n> "Income:Supporters:" (p "supporter") > n> "Assets:Core")
rustic-mode rust-mode rust-ts-mode
(if "if " p " {" n> q n> "}" q)
(el "if " p " {" n> p n> "} else {" n> p n> "}" q)
(elif "if " p " {" n> p n> "} else if " p " {" n> p n> "}" q)
(fn "fn " p "(" p ") {" n> p n "}" q)
(fnr "fn " p "(" p ") -> " p " {" n> p n "}" q)
(crt "extern crate " q ";")
(drv & "#[derive(" p ")]" q)
(d "dbg!(" p ")" q)
(lp "loop {" n> q n> "}" q)
(imd "impl Default for " p " {" n> n> "}")