programs.gram.snippets

Home-Manager option

attribute set of ((attribute set of (JSON value)) or strings concatenated with "\n")

Set of [snippets] to write to snippets/‹name›.json. [snippets]: https://gram-editor.com/docs/snippets/

type: attribute set of ((attribute set of (JSON value)) or strings concatenated with "\n")
Default
{ }
Example
{ html = { "Define doctype" = { body = [ "<!DOCTYPE>" "$1" ]; description = "Defines the document type"; prefix = "doctype"; }; }; javascript = { "Log to console" = { body = [ "console.info(\"Hello, \${1:World}!\")" "$0" ]; description = "Logs to console"; prefix = "log"; }; }; }
declared in: <home-manager/modules/programs/gram.nix>source unavailable