diff --git a/docs-preview-961/options.html b/docs-preview-961/options.html index d23f0fad..e0e31d21 100644 --- a/docs-preview-961/options.html +++ b/docs-preview-961/options.html @@ -34945,6 +34945,121 @@ boolean

Example: true

+

Declared by:

+ + +
+ +<nvf/modules/plugins/snippets/luasnip/luasnip.nix> + +
+ +
+ + vim.snippets.luasnip.customSnippets.snipmate + + +
+
+

A list containing custom snippets in the SnipMate format to be loaded by LuaSnip.

+ +

Type: +attribute set of list of (submodule)

+ +

Default: +{ }

+ +

Example:

''
+  {
+    all = [
+      {
+        trigger = "if";
+        body = "if $1 else $2";
+      }
+    ];
+    nix = [
+      {
+        trigger = "mkOption";
+        body = '''
+          mkOption {
+            type = $1;
+            default = $2;
+            description = $3;
+            example = $4;
+          }
+        ''';
+      }
+    ];
+  }
+''
+
+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/snippets/luasnip/luasnip.nix> + +
+
+
+ + vim.snippets.luasnip.customSnippets.snipmate.<name>.*.body + + +
+
+

The body of the snippet in SnipMate format (see LuaSnip Documentation).

+ +

Type: +string

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/snippets/luasnip/luasnip.nix> + +
+
+
+ + vim.snippets.luasnip.customSnippets.snipmate.<name>.*.description + + +
+
+

The description shown for this snippet.

+ +

Type: +string

+ +

Default: +""

+ +

Declared by:

+ + +
+ +<nvf/modules/plugins/snippets/luasnip/luasnip.nix> + +
+
+
+ + vim.snippets.luasnip.customSnippets.snipmate.<name>.*.trigger + + +
+
+

The trigger used to activate this snippet.

+ +

Type: +string

+

Declared by: