From 58761eb11a681abbde1809a01ab8dde75aa8f46e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 10 Feb 2022 09:20:34 +1100 Subject: [PATCH] GNUmakefile: move editor settings to .editorconfig Remove inline vim/emacs editor configuration, add makefile to editorconfig instead. --- .editorconfig | 9 +++++++++ GNUmakefile | 3 --- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.editorconfig b/.editorconfig index 691643adebe..41ec3a1dc3d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -42,3 +42,12 @@ insert_final_newline = true indent_style = space indent_size = 3 max_line_length = 120 + +# Makefile +[{Makefile,GNUmakefile}] +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = tab +indent_size = 4 +max_line_length = 120 \ No newline at end of file diff --git a/GNUmakefile b/GNUmakefile index e4703973384..feca1236e72 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,6 +1,3 @@ -# -*- mode: gnumakefile; tab-width: 4; indent-tabs-mode: t; -*- -# vim: tabstop=4 -# # ##### BEGIN GPL LICENSE BLOCK ##### # # This program is free software; you can redistribute it and/or