Skip to main content

dump_plugins_json

Function dump_plugins_json 

Source
pub fn dump_plugins_json() -> String
Expand description

JSON consumed by the IntelliJ AdditionalLibraryRootsProvider. Schema:

{
  "schema": 1,
  "plugins": [
    {"manager": "zinit", "name": "zsh-users/zsh-autosuggestions",
     "root": "/Users/wizard/.zinit/plugins/zsh-users---zsh-autosuggestions"}
  ]
}

Manager+name uniquely identify a plugin; root is the directory to expose as a synthetic library root.