Commit ff973d7f authored by Alex Turbov's avatar Alex Turbov Committed by Dominik Haumann
Browse files

add "style" attribute to C++ syntax files, so C++ indenter will be disabled

backport: when mode set to "Normal", because latter calls isComment() and isString() and that leads to assert.

@alex: Hope I backported this correctly.
CCMAIL: i.zaufi@gmail.com

CCBUG: 332426
parent 82ef6fc3
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* kate-version: 3.4 * kate-version: 3.4
* priority: 10 * priority: 10
* indent-languages: C++, C++/Qt4, ISO C++ * indent-languages: C++, C++/Qt4, ISO C++
* required-syntax-style: C++
* *
* This file is part of the Kate Project. * This file is part of the Kate Project.
* *
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
version="2.1" version="2.1"
kateversion="2.4" kateversion="2.4"
indenter="cstyle" indenter="cstyle"
syntax="C++"
mimetype="text/x-c++src;text/x-c++hdr;text/x-chdr" mimetype="text/x-c++src;text/x-c++hdr;text/x-chdr"
extensions="*.c++;*.cxx;*.cpp;*.cc;*.C;*.h;*.hh;*.H;*.h++;*.hxx;*.hpp;*.hcc;*.moc" extensions="*.c++;*.cxx;*.cpp;*.cc;*.C;*.h;*.hh;*.H;*.h++;*.hxx;*.hpp;*.hcc;*.moc"
author="Alex Turbov (i.zaufi@gmail.com)" author="Alex Turbov (i.zaufi@gmail.com)"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment