Skip to content

Commit

Permalink
Merge pull request #7 from hokorobi/fix-github-actions-error
Browse files Browse the repository at this point in the history
Fix Github Actions error
  • Loading branch information
hokorobi authored Jul 14, 2024
2 parents a368ff3 + b775073 commit 9ef590a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tohtml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

#
# Configure colorscheme and where to source plantuml-syntax/syntax/plantuml.vim
# from
# from
#
# colors="\$VIMRUNTIME/colors/default.vim"
# colors="${HOME}/.vim/bundle/gruvbox/colors/gruvbox.vim"

tools="tohtml.vim"

if [ -z "$1" ] || [ -z "$2" ]; then
Expand All @@ -22,6 +22,12 @@ fi
if ! [ -e "$toHtml" ]; then
toHtml="/usr/share/vim/vim90/syntax/2html.vim"
fi
if ! [ -e "$toHtml" ]; then
toHtml="$HOME/install/share/vim/vim82/syntax/2html.vim"
fi
if ! [ -e "$toHtml" ]; then
toHtml="/usr/share/vim/vim82/syntax/2html.vim"
fi
if ! [ -e "$toHtml" ]; then
echo "Cannot find 2html.vim script, set VIM_TO_HTML variable"
exit 1
Expand Down

0 comments on commit 9ef590a

Please sign in to comment.