mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-04-03 11:31:52 +00:00
languages/fsharp: resolve comments
This commit is contained in:
parent
9f8b7edbf6
commit
d6a310252f
2 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue