diff --git a/Commands/Function documentation.tmCommand b/Commands/Function documentation.tmCommand
index eae1ce8..2690b87 100644
--- a/Commands/Function documentation.tmCommand
+++ b/Commands/Function documentation.tmCommand
@@ -5,7 +5,10 @@
beforeRunningCommand
nop
command
- if grep <<<${TM_CURRENT_WORD:-!} -Esq '[a-zA-Z0-9_]+'
+ #!/usr/bin/env bash
+[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
+
+if grep <<<${TM_CURRENT_WORD:-!} -Esq '[a-zA-Z0-9_]+'
then exit_show_html "<meta http-equiv='Refresh' content='0;URL=http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/ref/${TM_CURRENT_WORD}.html'>"
else echo "Nothing to lookup (hint: place the caret on a function name)"
fi
@@ -14,15 +17,25 @@ fi
word
input
selection
+ inputFormat
+ text
keyEquivalent
^h
name
Function Documentation
- output
- showAsHTML
+ outputCaret
+ afterOutput
+ outputFormat
+ html
+ outputLocation
+ newWindow
scope
source.matlab
+ semanticClass
+ lookup.define.matlab
uuid
033730AF-96F5-4F0C-9199-E0683D40A22C
+ version
+ 2