From c68dff08cbcb1d02b3405434792423ebe5d5cc20 Mon Sep 17 00:00:00 2001 From: teto Date: Sat, 1 Feb 2025 13:04:18 +0000 Subject: [PATCH] deploy: 8544cd092047a7e92d0dce011108a563de7fc0f2 --- options.xhtml | 289 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 289 insertions(+) diff --git a/options.xhtml b/options.xhtml index 2ac255a8e..e069d16ef 100644 --- a/options.xhtml +++ b/options.xhtml @@ -34216,6 +34216,295 @@ paging = "auto"; +
+ + programs.lapce.enable + + +
+
+

Whether to enable lapce.

+ +

Type: +boolean

+ +

Default: +false

+ +

Example: +true

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/lapce.nix> + +
+
+
+ + programs.lapce.package + + +
+
+

The lapce package to use.

+ +

Type: +package

+ +

Default: +pkgs.lapce

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/lapce.nix> + +
+
+
+ + programs.lapce.channel + + +
+
+

Lapce channel to configure. +Should correspond to the package channel. +This is used to determine the correct configuration and data directories.

+ +

Type: +one of “stable”, “nightly”

+ +

Default: +"stable"

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/lapce.nix> + +
+
+
+ + programs.lapce.keymaps + + +
+
+

Keymaps written to $XDG_CONFIG_HOME/lapce/keymaps.toml. +See https://github.com/lapce/lapce/blob/master/defaults/keymaps-common.toml for examples.

+ +

Type: +TOML value

+ +

Default: +[ ]

+ +

Example:

[
+  {
+    command = "open_log_file";
+    key = "Ctrl+Shift+L";
+  }
+]
+
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/lapce.nix> + +
+
+
+ + programs.lapce.plugins + + +
+
+

Plugins to install.

+ +

Type: +list of (submodule)

+ +

Default: +[ ]

+ +

Example:

[
+  {
+    author = "MrFoxPro";
+    name = "lapce-nix";
+    version = "0.0.1";
+    hash = "sha256-...";
+  }
+  {
+    author = "dzhou121";
+    name = "lapce-rust";
+    version = "0.3.1932";
+    hash = "sha256-...";
+  }
+]
+
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/lapce.nix> + +
+
+
+ + programs.lapce.plugins.*.author + + +
+
+

Author of the plugin.

+ +

Type: +string

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/lapce.nix> + +
+
+
+ + programs.lapce.plugins.*.hash + + +
+
+

Hash of the plugin tarball. +To find the hash leave this empty, rebuild and copy the hash from the error message.

+ +

Type: +string

+ +

Default: +""

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/lapce.nix> + +
+
+
+ + programs.lapce.plugins.*.name + + +
+
+

Name of the plugin.

+ +

Type: +string

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/lapce.nix> + +
+
+
+ + programs.lapce.plugins.*.version + + +
+
+

Version of the plugin.

+ +

Type: +string

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/lapce.nix> + +
+
+
+ + programs.lapce.settings + + +
+
+

Configuration written to $XDG_CONFIG_HOME/lapce/settings.toml. +See https://github.com/lapce/lapce/blob/master/extra/schemas/settings.json for schema.

+ +

Type: +TOML value

+ +

Default: +{ }

+ +

Example:

{
+  core = {
+    custom-titlebar = false;
+    color-theme = "Custom";
+    icon-theme = "Material Icons";
+  };
+  editor = {
+    font-family = "FiraCode Nerd Bold Font, monospace";
+    font-size = 22;
+    tab-width = 2;
+    cursor-surrounding-lines = 4;
+    render-whitespace = "all";
+    bracket-pair-colorization = true;
+    highlight-matching-brackets = true;
+  };
+  ui = {
+    font-size = 20;
+    open-editors-visible = false;
+  };
+  lapce-nix.lsp-path = "$\{pkgs.nil\}/bin/nil";
+}
+
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/lapce.nix> + +
+
programs.lazygit.enable