From f5368d15acc49b285960c776e856732a484e241e Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Fri, 8 Mar 2024 19:05:16 +0300 Subject: [PATCH] Editorconfig : Add more extensions. --- user/home/module/Editorconfig | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/user/home/module/Editorconfig b/user/home/module/Editorconfig index 4c5d65cb..ca4266c0 100644 --- a/user/home/module/Editorconfig +++ b/user/home/module/Editorconfig @@ -1,9 +1,21 @@ root = true [*] -end_of_line = lf -charset = utf-8 +end_of_line = lf +charset = utf-8 indent_style = tab -indent_size = 2 -insert_final_newline = true +indent_size = 2 +insert_final_newline = true trim_trailing_whitespace = true + +[Makefile] +indent_size = 2 + +[*.{nix,js}] +indent_size = 2 + +[*.{lua,kt,kts,rs,py}] +indent_size = 4 + +[*.{sh,md}] +indent_size = 8