diff --git a/rc/extra/go-tools.kak b/rc/extra/go-tools.kak index 268067ac..af9d9909 100644 --- a/rc/extra/go-tools.kak +++ b/rc/extra/go-tools.kak @@ -5,6 +5,12 @@ # Needs the following tools in the path: # - jq for json deserializaton +%sh{ + if ! jq --version > /dev/null 2>&1; then + echo 'echo -debug %{Dependency unmet: jq, please install it to use go-tools}' + fi +} + # Auto-completion # ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾