From d1938db557b3655581795e7070196409d087d5bd Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Wed, 21 Nov 2018 09:25:38 +0100 Subject: [PATCH] tags update --- clean/.local/bin/cpm.sh | 6 +++--- vim/.vim/after/ftplugin/clean.vim | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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;/ -- 2.20.1