bin/myctags @ 1a3a3aa19a41

Improve lisp folding
author Steve Losh <steve@stevelosh.com>
date Fri, 25 Mar 2016 21:37:22 +0000
parents 5896629d7867
children b92a70549d55
#!/bin/bash

set -e

/usr/local/bin/ctags -R . && sed -i .bak -E -e '/^[^	]+	[^	]+.py	.+v$/d' tags

mv tags tags1
touch tags2

ffind '.js' --literal | xargs jsctags -f tags2 2>/dev/null || echo > tags2


echo '!_TAG_FILE_FORMAT	2	/extended format; --format=1 will not append ;" to lines/' > tags
echo '!_TAG_FILE_SORTED	1	/0=unsorted, 1=sorted, 2=foldcase/' >> tags

cat tags1 tags2 | grep -Ev '^!' | grep -v 'anonymous_function' | sort >> tags

rm tags1 tags2