Fix path to docs in :help command

This commit is contained in:
Thomas Broadley 2018-05-19 09:36:55 -04:00
parent a3a9011dad
commit 155bcfc131

View file

@ -759,7 +759,7 @@ export function home(all: "false" | "true" = "false") {
*/
//#background
export async function help(excmd?: string) {
const docpage = browser.extension.getURL("static/docs/modules/_excmds_.html")
const docpage = browser.extension.getURL("static/docs/modules/_src_excmds_.html")
if (excmd === undefined) excmd = ""
if ((await activeTab()).url.startsWith(docpage)) {
open(docpage + "#" + excmd)