mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-04-05 12:31:51 +00:00

Some checks are pending
Set up binary cache / cachix (default) (push) Waiting to run
Set up binary cache / cachix (maximal) (push) Waiting to run
Set up binary cache / cachix (nix) (push) Waiting to run
Validate flake & check documentation / Validate Flake Documentation (push) Waiting to run
Validate flake & check documentation / Validate hyperlinks in documentation sources (push) Waiting to run
Validate flake & check formatting / Validate Flake (push) Waiting to run
Validate flake & check formatting / Formatting via Alejandra (push) Waiting to run
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions
Check for typos in the source tree / check-typos (push) Waiting to run
* pins: point lspsaga to new source Stop using the fork, the author is back. * pins: point lspsaga to new source Stop using the fork, the author is back.
32 lines
942 B
Nix
32 lines
942 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkRemovedOptionModule;
|
|
inherit (lib.options) mkOption mkEnableOption;
|
|
inherit (lib.nvim.types) borderType mkPluginSetupOption;
|
|
in {
|
|
imports = [
|
|
(mkRemovedOptionModule ["vim" "lsp" "lspsaga" "mappings"] ''
|
|
Lspsaga mappings have been removed from nvf, as the original author has made
|
|
very drastic changes to the API after taking back ownership, and the fork we
|
|
used is now archived. Please refer to Lspsaga documentation to add keybinds
|
|
for functionality you have used.
|
|
|
|
<https://nvimdev.github.io/lspsaga>
|
|
'')
|
|
];
|
|
|
|
options.vim.lsp.lspsaga = {
|
|
enable = mkEnableOption "LSP Saga";
|
|
|
|
setupOpts = mkPluginSetupOption "lspsaga" {
|
|
border_style = mkOption {
|
|
type = borderType;
|
|
default = config.vim.ui.borders.globalStyle;
|
|
description = "Border type, see {command}`:help nvim_open_win`";
|
|
};
|
|
};
|
|
};
|
|
}
|