summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
authorAlan Pearce2023-04-13 10:18:16 +0200
committerAlan Pearce2023-04-14 18:05:49 +0200
commit22398eb643502ef037558cc6765aa49f680b548e (patch)
tree4d48a0843cb0889e48989d96c2646c7c6d52c006 /user/settings
parent27ef82a1e760b9b8949e6a2ef01ce8062803bdf7 (diff)
downloadnixfiles-22398eb643502ef037558cc6765aa49f680b548e.tar.lz
nixfiles-22398eb643502ef037558cc6765aa49f680b548e.tar.zst
nixfiles-22398eb643502ef037558cc6765aa49f680b548e.zip
Enable direnv support in emacs and neovim
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/emacs.nix1
-rw-r--r--user/settings/neovim.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 74a0d41a..acef1842 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -95,6 +95,7 @@ in
         crux
         ctrlf
         dired-git-info
+        envrc
         editorconfig
         eglot
         eldoc-box
diff --git a/user/settings/neovim.nix b/user/settings/neovim.nix
index e238b916..4fd58b11 100644
--- a/user/settings/neovim.nix
+++ b/user/settings/neovim.nix
@@ -14,6 +14,7 @@
       coc-json
       coc-tabnine
       coc-yaml
+      direnv-vim
       vim-surround
     ];
     extraLuaConfig = builtins.readFile ../nvim/init.lua;