summaryrefslogtreecommitdiff
path: root/TEMPLATE.SOURCECODE.HEADER
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-10-26 22:13:33 +0200
committerMichael Stahl <mstahl@redhat.com>2016-10-26 22:16:08 +0200
commitaa70294ffc0abbeeb30b4c4001e4db8b3539bf75 (patch)
tree225914ab32f8c72269b06b82de20cf7e959600e4 /TEMPLATE.SOURCECODE.HEADER
parent22d0970e690d7a623619a84d5054b6f92b7acea4 (diff)
normalize existing emacs/vim mode-lines in python files
Bunch of these were setting C++ or Make modes and icky tabs... Also, reportedly Emacs can figure out to enable python-mode automatically. Change-Id: I50072488fb92cb4d27aa3f74f717a28ae3967543
Diffstat (limited to 'TEMPLATE.SOURCECODE.HEADER')
-rw-r--r--TEMPLATE.SOURCECODE.HEADER13
1 files changed, 13 insertions, 0 deletions
diff --git a/TEMPLATE.SOURCECODE.HEADER b/TEMPLATE.SOURCECODE.HEADER
index 7ba2a9f27453..f842da62054d 100644
--- a/TEMPLATE.SOURCECODE.HEADER
+++ b/TEMPLATE.SOURCECODE.HEADER
@@ -54,6 +54,19 @@ For makefiles:
...
# vim: set noet sw=4 ts=4:
+For Python files:
+
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+...
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
+
For XML / .component:
<?xml version="1.0" encoding="UTF-8"?>