about summary refs log tree commit diff
path: root/users/sterni
diff options
context:
space:
mode:
Diffstat (limited to 'users/sterni')
-rw-r--r--users/sterni/emacs/default.nix1
-rw-r--r--users/sterni/emacs/init.el3
2 files changed, 4 insertions, 0 deletions
diff --git a/users/sterni/emacs/default.nix b/users/sterni/emacs/default.nix
index 226c8f9b22c6..e1bfbebb71c4 100644
--- a/users/sterni/emacs/default.nix
+++ b/users/sterni/emacs/default.nix
@@ -12,6 +12,7 @@ let
     epkgs.melpaPackages.cmake-mode
     epkgs.melpaPackages.direnv
     epkgs.melpaPackages.dockerfile-mode
+    epkgs.melpaPackages.editorconfig
     epkgs.melpaPackages.elfeed
     epkgs.melpaPackages.evil
     epkgs.melpaPackages.evil-collection
diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el
index ad414c09368c..4073bf63e5d8 100644
--- a/users/sterni/emacs/init.el
+++ b/users/sterni/emacs/init.el
@@ -230,6 +230,9 @@
 (use-package direnv
   :config (direnv-mode))
 
+(use-package editorconfig
+  :config (editorconfig-mode 1))
+
 (use-package haskell-mode)
 (use-package lsp-mode
   :hook ((haskell-mode . lsp-deferred))