From: Mart Lubbers Date: Wed, 21 Nov 2018 08:25:38 +0000 (+0100) Subject: tags update X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=d1938db557b3655581795e7070196409d087d5bd;p=dotfiles.git tags update --- diff --git a/clean/.local/bin/cpm.sh b/clean/.local/bin/cpm.sh index a51a0aa..6ec11bf 100755 --- a/clean/.local/bin/cpm.sh +++ b/clean/.local/bin/cpm.sh @@ -11,10 +11,10 @@ cpm "$@" |& grep -v\ if git rev-parse --show-toplevel 2>/dev/null then + gitroot="$(git rev-parse --show-toplevel)" cloogletags -a -c\ - -d "$(git rev-parse --show-toplevel)"\ - -d "$CLEAN_HOME/lib/"\ - -o "$CLEAN_HOME/lib/tags"\ + -d "$gitroot"\ + -o "$gitroot/.tags"\ |& grep -v\ -e "^Doc warning: expected @type for '"\ -e "^Doc error: missing leading asterisk in '"\ diff --git a/vim/.vim/after/ftplugin/clean.vim b/vim/.vim/after/ftplugin/clean.vim index 0f43883..56402d5 100644 --- a/vim/.vim/after/ftplugin/clean.vim +++ b/vim/.vim/after/ftplugin/clean.vim @@ -1,2 +1,2 @@ setlocal tags+=/opt/clean/lib/tags -set statusline+=%{cleanvim#tags#statusline()} +setlocal tags+=./.tags;/