From 9222bd77cdf808956e85bf53c6d07db1e075582f Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Mon, 19 Apr 2021 13:58:59 -0700 Subject: Remove unneeded modelines in ui. Remove the editor modeline blocks from the source files in ui that use 4 space indentation by running perl -i -p0e 's{ \n+ /[ *\n]+ editor \s+ modelines .* shiftwidth= .* \*/ \s+ } {\n}gsix' $( ag -l shiftwidth=4 $( ag -g '\.(c|cpp|h|m|mm)') ) This gives us one source of indentation truth for these files, and it *shouldn't* affect anyone since - These files match the default in our top-level .editorconfig. - The one notable editor that's likely to be used on these files and *doesn't* support EditorConfig (Qt Creator) defaults to 4 space indentation. --- ui/software_update.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'ui/software_update.h') diff --git a/ui/software_update.h b/ui/software_update.h index a5a72b3939..e24a43e1e1 100644 --- a/ui/software_update.h +++ b/ui/software_update.h @@ -68,16 +68,3 @@ extern void software_update_shutdown_request_callback(void); #endif /* __cplusplus */ #endif /* __SOFTWARE_UPDATE_H__ */ - -/* - * Editor modelines - * - * Local Variables: - * c-basic-offset: 4 - * tab-width: 8 - * indent-tabs-mode: nil - * End: - * - * ex: set shiftwidth=4 tabstop=8 expandtab: - * :indentSize=4:tabSize=8:noTabs=true: - */ -- cgit v1.2.3