diff options
| author | Jakob L. Kreuze | 2019-03-24 11:34:42 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze | 2019-03-24 11:34:42 -0400 |
| commit | cfc020f7199662518d16a9573ab3c837e32b2b1b (patch) | |
| tree | 70b41801beddee029e7e45bf73c754d28c1890d9 /jakob.org | |
| parent | a3e127b6b66e0f0bef26250ff9fc9aae14414225 (diff) | |
Add configuration for Hy
Diffstat (limited to 'jakob.org')
| -rw-r--r-- | jakob.org | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -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. |