feat(emacs/direnv): enable Emacs to load direnv environment

Especially useful when using Nix develompent shells and when LSP
servers would otherwise not be available.
This commit is contained in:
2026-05-03 01:11:40 +02:00
parent 8f68f4ba04
commit 39c311ba41

View File

@@ -6,6 +6,15 @@
* Programming * Programming
** Tools ** Tools
*** Nix environments
#+begin_src emacs-lisp
(use-package envrc
:straight (:build t)
:hook (after-init . envrc-global-mode))
(use-package inheritenv :straight (:built t))
#+end_src
*** Treesitter *** Treesitter
Treesit is a native Emacs [[https://tree-sitter.github.io/tree-sitter/][tree-sitter]] implementation which provides a Treesit is a native Emacs [[https://tree-sitter.github.io/tree-sitter/][tree-sitter]] implementation which provides a
very fast and flexible way of performing code-highlighting in Emacs. very fast and flexible way of performing code-highlighting in Emacs.