From 4fe8d97e30b8e1d45e17ad209831f574145e70ed Mon Sep 17 00:00:00 2001 From: Gregor Santner Date: Sun, 5 Aug 2018 19:52:28 +0200 Subject: [PATCH] Add *.ino (Arduino sketch files) to c++ fileextension list --- ctags/parsers/c.c | 2 +- data/filetype_extensions.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ctags/parsers/c.c b/ctags/parsers/c.c index 428453f9f6..2f0cd858f8 100644 --- a/ctags/parsers/c.c +++ b/ctags/parsers/c.c @@ -3261,7 +3261,7 @@ extern parserDefinition* CParser (void) extern parserDefinition* CppParser (void) { static const char *const extensions [] = { - "c++", "cc", "cp", "cpp", "cxx", "h", "h++", "hh", "hp", "hpp", "hxx", + "c++", "cc", "cp", "cpp", "cxx", "h", "h++", "hh", "hp", "hpp", "hxx", "ino", "i", #ifndef CASE_INSENSITIVE_FILENAMES "C", "H", diff --git a/data/filetype_extensions.conf b/data/filetype_extensions.conf index 24bc1d1a0d..bd2a83d11d 100644 --- a/data/filetype_extensions.conf +++ b/data/filetype_extensions.conf @@ -12,7 +12,7 @@ ASM=*.asm;*.asm51;*.a51;*.s;*.S;*.sx; Batch=*.bat;*.cmd;*.nt; CAML=*.ml;*.mli; C=*.c;*.xpm; -C++=*.cpp;*.cxx;*.c++;*.cc;*.h;*.hpp;*.hxx;*.h++;*.hh;*.C;*.H; +C++=*.cpp;*.cxx;*.c++;*.cc;*.h;*.hpp;*.hxx;*.h++;*.hh;*.ino;*.C;*.H; Clojure=*.clj;*.cljs;*.cljc; CUDA=*.cu;*.cuh;*.h; C#=*.cs;