aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2018-05-02 13:24:04 -0700
committerAnders Broman <a.broman58@gmail.com>2018-05-03 04:07:25 +0000
commitd1a2b6973f97419d7817594ba7832022bdbdf3b5 (patch)
tree660ca293227f455951e647503b6177cde71dae2d /.editorconfig
parentef4080bc3a7130f9687ef05bc90bac1155e9144f (diff)
Editorconfig: Add a filename match for Makefiles.
The "Autotools, Make" section in .editorconfig didn't have an associated filepath glob pattern, which meant that it matched the preceding pattern, which was "*". This would appear to explain why VS Code mysteriously forced 8-character tabs for some files. Remove ui/qt/Makefile_custom.common while we're here. Change-Id: I5a84cc53c992bb2a95036cb98dc97cc7eb6b1299 Reviewed-on: https://code.wireshark.org/review/27281 Reviewed-by: Gerald Combs <gerald@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig
index 2919945049..987cfa7978 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -15,7 +15,8 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
-# Autotools, Make
+# Makefiles. Although we dropped Autotools we still have a few lying around.
+[Makefile*]
indent_style = tab
indent_size = 8