Ticket #4098: syntax highlighting: support .ino files.

Add the .ino extension to the list of extensions recognized by the c++
syntax highlighter.

.ino is used by the Arduino IDE, and a number of other IDEs, and it's effectively
the same thing as a c++ source file, but with some added magic, such as auto-generated
function prototypes.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Purdea Andrei 2020-06-21 05:17:39 +03:00 committed by Andrew Borodin
parent 65f27b6854
commit 1f4b5ae396

View File

@ -97,7 +97,7 @@ include texinfo.syntax
file ..\*\\.c$ C\sProgram
include c.syntax
file ..\*\\.([hC]|(?i:cxx|cc|cpp|hpp|hxx|hh)|[Hh]\\.in)$ C/C\+\+\sProgram
file ..\*\\.([hC]|(?i:cxx|cc|cpp|hpp|hxx|hh|ino)|[Hh]\\.in)$ C/C\+\+\sProgram
include cxx.syntax
file ..\*\\.d$ D\sProgram