emacs: Add hare-mode
This commit is contained in:
parent
1a37a82af9
commit
29e3f7d597
2 changed files with 22 additions and 0 deletions
|
@ -1700,6 +1700,16 @@ Register =nushell= LSP with eglot
|
|||
'(nushell-ts-mode . ("nu" "--lsp"))))
|
||||
#+end_src
|
||||
|
||||
*** hare
|
||||
|
||||
[[https://git.sr.ht/~bbuccianti/hare-mode][hare-mode]] for [[https://harelang.org][hare]] support.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(use-package hare-mode
|
||||
:ensure nil ;; It's installed outside emacs
|
||||
)
|
||||
#+end_src
|
||||
|
||||
* Org
|
||||
|
||||
** Main org setup
|
||||
|
|
|
@ -23,6 +23,17 @@ with lib; let
|
|||
};
|
||||
};
|
||||
|
||||
hare-mode = pkgs.emacsPackages.trivialBuild {
|
||||
pname = "hare-mode";
|
||||
version = "unstable-2022-04-27";
|
||||
src = pkgs.fetchFromSourcehut {
|
||||
owner = "~bbuccianti";
|
||||
repo = "hare-mode";
|
||||
rev = "bb7b2faccb5939b0c8d4ffa6a6e28a0d2bc93dd6";
|
||||
sha256 = "SOnsNDWKL077AgTdpd9zZPhiyv8d/snllzTy53qlco8=";
|
||||
};
|
||||
};
|
||||
|
||||
emacsWithPackages = pkgs.emacsWithPackagesFromUsePackage {
|
||||
config =
|
||||
let
|
||||
|
@ -35,6 +46,7 @@ with lib; let
|
|||
alwaysEnsure = true;
|
||||
alwaysTangle = true;
|
||||
extraEmacsPackages = epkgs: with epkgs; [
|
||||
hare-mode
|
||||
vterm
|
||||
(treesit-grammars.with-grammars (p: with p; [
|
||||
tree-sitter-bash
|
||||
|
|
Loading…
Reference in a new issue