summaryrefslogtreecommitdiff
path: root/jakob.org
diff options
context:
space:
mode:
authorJakob L. Kreuze2019-03-24 11:34:42 -0400
committerJakob L. Kreuze2019-03-24 11:34:42 -0400
commitcfc020f7199662518d16a9573ab3c837e32b2b1b (patch)
tree70b41801beddee029e7e45bf73c754d28c1890d9 /jakob.org
parenta3e127b6b66e0f0bef26250ff9fc9aae14414225 (diff)
Add configuration for Hy
Diffstat (limited to 'jakob.org')
-rw-r--r--jakob.org19
1 files changed, 19 insertions, 0 deletions
diff --git a/jakob.org b/jakob.org
index 39b64dc..a8eaa06 100644
--- a/jakob.org
+++ b/jakob.org
@@ -2051,6 +2051,25 @@ Set up [[company]].
(add-to-list 'company-backends 'company-jedi)))
#+END_SRC
+** Hy
+
+Set up [[company]].
+
+#+BEGIN_SRC elisp
+(use-package hy-mode
+ :hook
+ (hy-mode . company-mode)
+ (hy-mode . jedi-mode)
+ (hy-mode . company-jedi)
+#+END_SRC
+
+=hy-mode= doesn't create an autoload for the command to start a Hy REPL, so we'll
+declare it here. Chiefly, this lets me =m-x run-hy= before =hy-mode= is loaded.
+
+#+BEGIN_SRC elisp
+ :commands run-hy)
+#+END_SRC
+
** Javascript
Set up =js-mode= to interact with a [[Language Server Protocol]] daemon.

© 2015 - 2026 Jakob L. Kreuze