chore: preset enable docs

This commit is contained in:
Snoweuph 2026-04-13 08:34:26 +02:00
commit a3aa4e49d1
No known key found for this signature in database
GPG key ID: BEFC41DA223CEC55
75 changed files with 252 additions and 228 deletions

View file

@ -6,12 +6,12 @@
}: let
inherit (lib.meta) getExe;
inherit (lib.modules) mkIf;
inherit (lib.options) mkEnableOption;
inherit (lib.nvim.types) mkLspPresetEnableOption;
cfg = config.vim.lsp.presets.tofu-ls;
in {
options.vim.lsp.presets.tofu-ls = {
enable = mkEnableOption "the OpenTofu Language Server";
enable = mkLspPresetEnableOption "tofu-ls" "OpenTofu" [];
};
config = mkIf cfg.enable {