@@ -2,4 +2,12 @@
3ASSET_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3ASSET_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
5+# TODO: Remove this (and the reverse part below) when
6+# https://github.com/trishume/syntect/issues/160 has been fixed
7+JAVADOC_FILE="${ASSET_DIR}/syntaxes/Packages/Java/JavaDoc.sublime-syntax"
8+JAVADOC_PATCH="${ASSET_DIR}/JavaDoc.sublime-syntax.patch"
9+patch "$JAVADOC_FILE" "$JAVADOC_PATCH"
5bat cache --init --blank --source="$ASSET_DIR" --target="$ASSET_DIR"
11bat cache --init --blank --source="$ASSET_DIR" --target="$ASSET_DIR"
13+patch -R "$JAVADOC_FILE" "$JAVADOC_PATCH"