Expand description
Per-user plugin disable list for klasp.
Location: $KLASP_DISABLED_PLUGINS_FILE env override, or
$HOME/.config/klasp/disabled-plugins.toml.
Format:
disabled = ["my-linter", "another-plugin"]The disable list is a klasp-side concept — it does not affect the plugin
wire format (PluginGateInput / PluginGateOutput).
Constants§
- KLASP_
DISABLED_ PLUGINS_ FILE_ ENV - Environment variable that overrides the default disable list path. Essential for test isolation.
Functions§
- add
- Add
nameto the disable list atpath(or default path ifNone). - load
- Load the set of disabled plugin names from
path(or default path ifNone). Returns an empty set if the file does not exist. - resolve_
disable_ list_ path - Resolve the disable list path: env override or
~/.config/klasp/disabled-plugins.toml. - validate_
plugin_ name - Validate that
nameis a well-formed plugin name. Same shape as theklasp-plugin-<name>binary lookup: ASCII letters, digits,_,-. Rejects path separators, shell metachars, control chars, and empty names.