From 025c067af584b31c8efb199c3f74c286a2921613 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Fri, 15 Apr 2022 14:56:06 -0400 Subject: [PATCH] Remove the gentags script as gutentags handles this now --- gentags | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100755 gentags diff --git a/gentags b/gentags deleted file mode 100755 index f544248..0000000 --- a/gentags +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env bash - -tags_file="$HOME/.vim/tags" -ctags_cmd="ctags --fields=+l --c-kinds=+p --c++-kinds=+p -R -f $tags_file" - -function generate_tags() { - printf '%s\n' 'Recursively generating tags for the following paths:' - - for path in "$@"; do - printf '%s\n' " $path" - done - - if $ctags_cmd "$@" >/dev/null 2>&1; then - printf '%s\n' 'Done!' - else - printf '%s\n' 'Failed!' - exit 1 - fi -} - -if command -v ctags >/dev/null; then - [[ -n "$1" ]] && generate_tags "$@" || generate_tags "$PWD" -else - printf '%s\n' 'Error: cannot find the ctags binary in $PATH' - exit 1 -fi