[Libreoffice-commits] core.git: solenv/bin
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jun 10 09:46:55 UTC 2021
solenv/bin/add-modelines | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 76e2c20876319cbeea24d40104fac1ba7d6b5278
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jun 10 09:14:21 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Jun 10 11:46:14 2021 +0200
update add-modelines to the TEMPLATE.SOURCECODE.HEADER pattern
to match
commit f75cd22118a58c8a8827723c890885a500562465
Date: Tue Nov 8 14:51:20 2016 +0200
Add fill-column: 100 to the Emacs mode line
and
commit 6a0081642633eb406059295b90fd0c9b0cd1130f
Date: Wed May 18 20:00:00 2016 +0200
add Vim C-indent options to C/C++ template modeline
changes to TEMPLATE.SOURCECODE.HEADER
Change-Id: Ic323cd7dcce9ece23325a23160b0936819bb634b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116962
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/solenv/bin/add-modelines b/solenv/bin/add-modelines
index 09c8d88b16e8..3fa358cc2909 100755
--- a/solenv/bin/add-modelines
+++ b/solenv/bin/add-modelines
@@ -32,8 +32,8 @@ set -f
set -o posix
# Change these to taste
-FirstLine='/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */'
-LastLine='/* vim:set shiftwidth=4 softtabstop=4 expandtab: */'
+FirstLine='/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */'
+LastLine='/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */'
SourceFiles='*.cxx *.cpp *.hxx *.hpp *.c *.h *.m *.mm *.idl *.src *.hrc'
# Set defaults (don't change these)
More information about the Libreoffice-commits
mailing list