Add markers for VSC minimap

This commit is contained in:
Oliver-Akins 2024-04-28 19:11:55 -06:00
parent 90a9badddc
commit e4ac6f4ca1

View file

@ -7,7 +7,7 @@ import { options } from "./options.mjs";
export default { export default {
// Complex helpers // MARK: Complex helpers
"dd-schemaOptions": schemaOptions, "dd-schemaOptions": schemaOptions,
"dd-array": createArray, "dd-array": createArray,
"dd-objectValue": objectValue, "dd-objectValue": objectValue,
@ -15,13 +15,13 @@ export default {
"dd-i18n": handlebarsLocalizer, "dd-i18n": handlebarsLocalizer,
"dd-options": options, "dd-options": options,
// Simple helpers // MARK: Simple helpers
"dd-stringify": v => JSON.stringify(v, null, ` `), "dd-stringify": v => JSON.stringify(v, null, ` `),
"dd-empty": v => v.length == 0, "dd-empty": v => v.length == 0,
"dd-set-has": (s, k) => s.has(k), "dd-set-has": (s, k) => s.has(k),
"dd-empty-state": (v) => v ?? localizer(`dotdungeon.common.empty`), "dd-empty-state": (v) => v ?? localizer(`dotdungeon.common.empty`),
// Logic helpers // MARK: Logic helpers
"eq": (a, b) => a == b, "eq": (a, b) => a == b,
"neq": (a, b) => a != b, "neq": (a, b) => a != b,
"not": v => !v, "not": v => !v,