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:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user