Commit 0b05dbdd authored by Alex Turbov's avatar Alex Turbov
Browse files

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

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

BUG: 332426
parent b52ae19d
......@@ -6,6 +6,7 @@
* kate-version: 3.4
* priority: 10
* indent-languages: C++, C++/Qt4, ISO C++
* required-syntax-style: C++
*
* This file is part of the Kate Project.
*
......
......@@ -11,9 +11,10 @@
<language
name="C++"
section="Sources"
version="1.5"
version="1.6"
kateversion="2.4"
indenter="cstyle"
syntax="C++"
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"
author="Alex Turbov (i.zaufi@gmail.com)"
......
......@@ -11,9 +11,10 @@
<language
name="ISO C++"
section="Sources"
version="2.2"
version="2.3"
kateversion="2.4"
indenter="cstyle"
syntax="C++"
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"
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