From eee6bc24d00917895788b2eb608f38db08d2fb27 Mon Sep 17 00:00:00 2001 From: PerilousBooklet Date: Sat, 13 Apr 2024 10:54:31 +0200 Subject: [PATCH] Added Arduino syntax highlighting support alongside C++. (#1767) --- data/plugins/language_cpp.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/plugins/language_cpp.lua b/data/plugins/language_cpp.lua index 70489713..88f0770f 100644 --- a/data/plugins/language_cpp.lua +++ b/data/plugins/language_cpp.lua @@ -5,7 +5,8 @@ syntax.add { name = "C++", files = { "%.h$", "%.inl$", "%.cpp$", "%.cc$", "%.C$", "%.cxx$", - "%.c++$", "%.hh$", "%.H$", "%.hxx$", "%.hpp$", "%.h++$" + "%.c++$", "%.hh$", "%.H$", "%.hxx$", "%.hpp$", "%.h++$", + "%.ino$" }, comment = "//", block_comment = { "/*", "*/" },