Skip to content

Commit

Permalink
ctags edit and compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
lzap committed Jul 16, 2013
1 parent 3f39ab1 commit 066dde4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions compilers/jshintrb.vim
@@ -0,0 +1,2 @@
set makeprg=bundle\ exec\ rake\ test:jshint
set efm=%-Pfile:\ %f,%*[\ ]line\ %l\\,\ col\ %c\\,\ %m,%-Q,%-GJSHint\ check\ failed
8 changes: 7 additions & 1 deletion git_template/hooks/ctags
Expand Up @@ -8,5 +8,11 @@ LANGS="-sql,-cobol"

mkdir .git/tags_lock 2>/dev/null || exit 0
trap "rmdir .git/tags_lock; rm -f .git/tags.$$" EXIT
ctags --tag-relative -R -f .git/tags.$$ --exclude=.git "--languages=$LANGS"

# general purpose ctags
#ctags --tag-relative -R -f .git/tags.$$ --exclude=.git "--languages=$LANGS"

# ruby-only tags
ripper-tags --recurse --only-rb --vim --ignore-errors . > .git/tags.$$

mv .git/tags.$$ .git/tags

0 comments on commit 066dde4

Please sign in to comment.