programs.lapce.enable
Whether to enable lapce.
Type: boolean
Default:
false
Example:
true
Declared by:
programs.lapce.package
The lapce package to use.
Type: null or package
Default:
pkgs.lapce
Declared by:
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:
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:
programs.lapce.plugins
Plugins to install.
Type: list of (submodule)
Default:
[ ]
Example:
[
{
author = "MrFoxPro";
hash = "sha256-...";
name = "lapce-nix";
version = "0.0.1";
}
{
author = "dzhou121";
hash = "sha256-...";
name = "lapce-rust";
version = "0.3.1932";
}
]
Declared by:
programs.lapce.plugins.*.author
Author of the plugin.
Type: string
Declared by:
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:
programs.lapce.plugins.*.name
Name of the plugin.
Type: string
Declared by:
programs.lapce.plugins.*.version
Version of the plugin.
Type: string
Declared by:
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: