From a9a882c362296f393d5b52e19abb48f81f2b0581 Mon Sep 17 00:00:00 2001 From: pommicket Date: Thu, 29 Sep 2022 17:58:50 -0400 Subject: added .rs, .go to is_source_file for ctags --- tags.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tags.c b/tags.c index e997a3e..e26ef6d 100644 --- a/tags.c +++ b/tags.c @@ -23,7 +23,7 @@ static bool is_source_file(char const *filename) { char const *dot = strchr(filename, '.'); char const *const extensions[] = { "py", "c", "h", "cpp", "hpp", "cc", "hh", "cxx", "hxx", "C", "H", - "rb", "lua", "s", "asm", "js", "pl", "cs", "sh", "java", "php" + "rb", "rs", "go", "lua", "s", "asm", "js", "pl", "cs", "sh", "java", "php" }; if (!dot) return false; for (size_t i = 0; i < arr_count(extensions); ++i) { -- cgit v1.2.3