From aa70294ffc0abbeeb30b4c4001e4db8b3539bf75 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 26 Oct 2016 22:13:33 +0200 Subject: 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 --- TEMPLATE.SOURCECODE.HEADER | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'TEMPLATE.SOURCECODE.HEADER') 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: -- cgit v1.2.3