summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Vink <>2023-04-19 23:24:00 +0200
committerMike Vink <>2023-04-19 23:30:29 +0200
commit10bd12c1b09c7fa9f0400f173183c9209182858e (patch)
treea24ca8e3db723cfff28ef7aea24eeb7f1cb4c2ea
parent3542752bf1ac37374a329c20fdfd8872f832ca75 (diff)
start using editorconfig
-rw-r--r--home.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/home.nix b/home.nix
index f64e272..8a99503 100644
--- a/home.nix
+++ b/home.nix
@@ -27,6 +27,17 @@
nix-direnv.enable = true;
};
+
+ editorconfig = {
+ enable = true;
+ settings = {
+ "*.{fnl,rkt,nix,md,hcl,tf,py,cpp,qml,js,txt,json,html,lua,yaml,yml,bash,sh,go}" = {
+ trim_trailing_whitespace = true;
+ insert_final_newline = true;
+ };
+ };
+ };
+
programs.newsboat = {
enable = true;
autoReload = true;