From 1f3804b9cd6e60b35b44a9d947b0685a718482f8 Mon Sep 17 00:00:00 2001 From: sterni Date: Thu, 12 May 2022 18:33:50 +0200 Subject: [PATCH] feat(sterni/emacs): enable editorconfig-mode Change-Id: I5d0a5302321b768c7d23530d559115e3d8019223 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5581 Reviewed-by: sterni Autosubmit: sterni Tested-by: BuildkiteCI --- users/sterni/emacs/default.nix | 1 + users/sterni/emacs/init.el | 3 +++ 2 files changed, 4 insertions(+) diff --git a/users/sterni/emacs/default.nix b/users/sterni/emacs/default.nix index 226c8f9b2..e1bfbebb7 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 ad414c093..4073bf63e 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))