summaryrefslogtreecommitdiff
path: root/solenv/bin
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-06-10 09:14:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-06-10 11:46:14 +0200
commit76e2c20876319cbeea24d40104fac1ba7d6b5278 (patch)
treebb65254f57a0e0ef671dbe003d496a1c2f2aaa55 /solenv/bin
parent11925224a53a46837d3a32b126ff2be55c96fb13 (diff)
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@redhat.com>
Diffstat (limited to 'solenv/bin')
-rwxr-xr-xsolenv/bin/add-modelines4
1 files changed, 2 insertions, 2 deletions
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)