D17904: Highlight CUDA .cu and .cuh files as C++

Thomas Schöps noreply at phabricator.kde.org
Tue Jan 1 21:38:34 GMT 2019


thomassc created this revision.
thomassc added a reviewer: Framework: Syntax Highlighting.
thomassc added a project: Framework: Syntax Highlighting.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
thomassc requested review of this revision.

REVISION SUMMARY
  This patch makes the syntax highlighting use the C++ style for CUDA sources (.cu) and headers (.cuh) by default. This should work very well, since those are essentially C++ files with very little additional syntax.

TEST PLAN
  Shortly tested manually in KDevelop, looked good.

REPOSITORY
  R216 Syntax Highlighting

REVISION DETAIL
  https://phabricator.kde.org/D17904

AFFECTED FILES
  data/syntax/cpp.xml

To: thomassc, #framework_syntax_highlighting
Cc: kwrite-devel, kde-frameworks-devel, bmortimer, hase, michaelh, genethomas, ngraham, bruns, demsking, cullmann, vkrause, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190101/df5a0579/attachment.html>


More information about the Kde-frameworks-devel mailing list