summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-09-29 17:58:50 -0400
committerpommicket <pommicket@gmail.com>2022-09-29 17:58:50 -0400
commita9a882c362296f393d5b52e19abb48f81f2b0581 (patch)
tree2073bb601a0e044dea88156e425df9ece8308cf0
parent44c338433284b0ecb3c30cef5aae0cdb3b06901f (diff)
added .rs, .go to is_source_file for ctags
-rw-r--r--tags.c2
1 files changed, 1 insertions, 1 deletions
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) {