mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
modules/neovim: deprecate vim.showSignColumn
Prefer the type-safe `vim.options` equivalent.
This commit is contained in:
parent
5a5f49f85f
commit
07f50e84eb
3 changed files with 29 additions and 25 deletions
|
@ -6,6 +6,7 @@
|
|||
inherit (lib.options) mkOption mkEnableOption literalMD literalExpression;
|
||||
inherit (lib.strings) optionalString;
|
||||
inherit (lib.types) str bool int enum attrsOf lines listOf either path submodule anything;
|
||||
inherit (lib.nvim.languages) toVimBool;
|
||||
inherit (lib.nvim.types) dagOf;
|
||||
inherit (lib.nvim.lua) listToLuaTable;
|
||||
|
||||
|
@ -227,6 +228,13 @@ in {
|
|||
default = true;
|
||||
description = "Enable word wrapping.";
|
||||
};
|
||||
|
||||
signcolumn = mkOption {
|
||||
type = bool;
|
||||
default = true;
|
||||
apply = x: toVimBool x; # convert to a yes/no str
|
||||
description = "Show the sign column";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue