diff options
| -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. |