fixes enable option descriptions

mkEnableOption already adds the phrase "Whether to enable ..." to the
beginning of the option description, such that the string argument
should only be "thing to be enabled"
This commit is contained in:
Kalle Jepsen 2023-10-21 19:15:36 +02:00
commit a452a0b0e7
22 changed files with 42 additions and 42 deletions

View file

@ -2,7 +2,7 @@
with lib; {
options.vim.lsp = {
nvimCodeActionMenu = {
enable = mkEnableOption "Enable nvim code action menu";
enable = mkEnableOption "nvim code action menu";
show = {
details = mkEnableOption "Show details" // {default = true;};

View file

@ -2,7 +2,7 @@
with lib; {
options.vim.lsp = {
trouble = {
enable = mkEnableOption "Enable trouble diagnostics viewer";
enable = mkEnableOption "trouble diagnostics viewer";
mappings = {
toggle = mkMappingOption "Toggle trouble [trouble]" "<leader>xx";