aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2021-11-14 22:28:53 +0100
committerÓscar Nájera <hi@oscarnajera.com>2021-11-15 09:52:58 +0100
commitae123ee9a60786a35d7bfcf28e71599a5c6e866b (patch)
tree52121d8dfdc173f342d08610e90e7d553c45ef06
parent6abe824a51fd246b503a9e7572f61f9a44ceb97d (diff)
downloaddotfiles-ae123ee9a60786a35d7bfcf28e71599a5c6e866b.tar.gz
dotfiles-ae123ee9a60786a35d7bfcf28e71599a5c6e866b.tar.bz2
dotfiles-ae123ee9a60786a35d7bfcf28e71599a5c6e866b.zip
YAML, DB, WEB modes
-rw-r--r--config/doom/config.org21
-rw-r--r--config/doom/init.el2
2 files changed, 22 insertions, 1 deletions
diff --git a/config/doom/config.org b/config/doom/config.org
index 39bf898..ecbe9ec 100644
--- a/config/doom/config.org
+++ b/config/doom/config.org
@@ -353,6 +353,27 @@ Emacs mode for managing ledger text files
(setq calibredb-db-dir (expand-file-name "metadata.db" calibredb-root-dir)))
#+end_src
* Programming languages
+** YAML
+#+begin_src emacs-lisp :tangle "packages.el"
+(package! yaml)
+#+end_src
+#+begin_src emacs-lisp
+(use-package! libyaml
+ :commands yaml-read-file
+ :load-path "~/dev/emacs-lisp/emacs-libyaml/")
+
+(use-package! yaml)
+#+end_src
+
+** Databases
+#+begin_src emacs-lisp :tangle "packages.el"
+(package! emacsql-psql)
+#+end_src
+** WEB
+#+begin_src emacs-lisp
+(after! web-mode
+ (setq-hook! 'web-mode-hook +format-with :none))
+#+end_src
** Haskell
#+begin_src emacs-lisp
(after! haskell-mode
diff --git a/config/doom/init.el b/config/doom/init.el
index 2f6a72b..600eb4b 100644
--- a/config/doom/init.el
+++ b/config/doom/init.el
@@ -166,7 +166,7 @@
;;solidity ; do you need a blockchain? No.
;;swift ; who asked for emoji variables?
;;terra ; Earth and Moon in alignment for performance.
- ;;web ; the tubes
+ web ; the tubes
yaml ; JSON, but readable
;;zig ; C, but simpler