Merge pull request #1391 from glacambre/fix_hint_j

excmds.ts: Fix hint -J
This commit is contained in:
Oliver Blanthorn 2019-02-27 08:08:20 +00:00 committed by GitHub
commit 24228b8937
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3540,7 +3540,7 @@ export async function hint(option?: string, selectors?: string, ...rest: string[
const options = new Set(option.length ? option.slice(1).split("") : [])
const rapid = options.delete("q")
const jshints = options.delete("J")
const jshints = !options.delete("J")
const withSelectors = options.delete("c")
option = "-" + Array.from(options).join("")