From 156de15c1b878cd27b2c841ad279d7a4229c2a40 Mon Sep 17 00:00:00 2001
From: Ben Sima <ben@bsima.me>
Date: Wed, 19 Jun 2019 10:38:47 -0700
Subject: add editorconfig

---
 .editorconfig | 2 --
 common.nix    | 4 ++++
 editorconfig  | 4 ++++
 3 files changed, 8 insertions(+), 2 deletions(-)
 delete mode 100644 .editorconfig
 create mode 100644 editorconfig

diff --git a/.editorconfig b/.editorconfig
deleted file mode 100644
index d9a328f..0000000
--- a/.editorconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-[*.h]
-indent_style = tab
\ No newline at end of file
diff --git a/common.nix b/common.nix
index f01836d..6b92871 100644
--- a/common.nix
+++ b/common.nix
@@ -32,6 +32,10 @@ in
         source = ./mailcap;
         target = ".mailcap";
       };
+      editorconfig = {
+        source = ./editorconfig;
+        target = ".editorconfig";
+      };
     };
   };
 
diff --git a/editorconfig b/editorconfig
new file mode 100644
index 0000000..49bc4f8
--- /dev/null
+++ b/editorconfig
@@ -0,0 +1,4 @@
+root = true
+
+[*.h]
+indent_style = tab
\ No newline at end of file
-- 
cgit v1.2.3