languages/fsharp: resolve comments

This commit is contained in:
Marlon Rosenberg 2025-03-25 19:42:50 +00:00
parent 9f8b7edbf6
commit d6a310252f
2 changed files with 5 additions and 4 deletions

View file

@ -82,6 +82,7 @@ isMaximal: {
elixir.enable = false; elixir.enable = false;
haskell.enable = false; haskell.enable = false;
ruby.enable = false; ruby.enable = false;
fsharp.enable = false;
tailwind.enable = false; tailwind.enable = false;
svelte.enable = false; svelte.enable = false;

View file

@ -60,14 +60,14 @@ in {
lsp = { lsp = {
enable = mkEnableOption "F# LSP support" // {default = config.vim.languages.enableLSP;}; enable = mkEnableOption "F# LSP support" // {default = config.vim.languages.enableLSP;};
server = mkOption { server = mkOption {
description = "F# LSP server to use";
type = enum (attrNames servers); type = enum (attrNames servers);
description = "F# LSP server to use";
default = defaultServer; default = defaultServer;
}; };
package = mkOption { package = mkOption {
description = "F# LSP server package, or the command to run as a list of strings";
type = either package (listOf str); type = either package (listOf str);
description = "F# LSP server package, or the command to run as a list of strings";
default = servers.${cfg.lsp.server}.package; default = servers.${cfg.lsp.server}.package;
}; };
}; };
@ -75,14 +75,14 @@ in {
enable = mkEnableOption "F# formatting" // {default = config.vim.languages.enableFormat;}; enable = mkEnableOption "F# formatting" // {default = config.vim.languages.enableFormat;};
type = mkOption { type = mkOption {
description = "F# formatter to use";
type = enum (attrNames formats); type = enum (attrNames formats);
description = "F# formatter to use";
default = defaultFormat; default = defaultFormat;
}; };
package = mkOption { package = mkOption {
description = "F# formatter package";
type = package; type = package;
description = "F# formatter package";
default = formats.${cfg.format.type}.package; default = formats.${cfg.format.type}.package;
}; };
}; };