Compare commits

..

No commits in common. "43843da2300fa2eba2dc880cfb30ff964a1311de" and "9f8b7edbf6d2c842c361c863aba633f1d7a17d72" have entirely different histories.

3 changed files with 5 additions and 7 deletions

View file

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

View file

@ -277,6 +277,6 @@
- `eslint_d` now checks for configuration files to load.
[Sc3l3t0n](https://github.com/Sc3l3t0n):
[Sc3l3t0n](https://github.com/Sc3l3t0n)
- Add F# support under `vim.languages.fsharp`.

View file

@ -60,31 +60,30 @@ in {
lsp = {
enable = mkEnableOption "F# LSP support" // {default = config.vim.languages.enableLSP;};
server = mkOption {
description = "F# LSP server to use";
type = enum (attrNames servers);
default = defaultServer;
description = "F# LSP server to use";
};
package = mkOption {
description = "F# LSP server package, or the command to run as a list of strings";
type = either package (listOf str);
default = servers.${cfg.lsp.server}.package;
example = ''[lib.getExe pkgs.fsautocomplete "--state-directory" "~/.cache/fsautocomplete"]'';
description = "F# LSP server package, or the command to run as a list of strings";
};
};
format = {
enable = mkEnableOption "F# formatting" // {default = config.vim.languages.enableFormat;};
type = mkOption {
description = "F# formatter to use";
type = enum (attrNames formats);
default = defaultFormat;
description = "F# formatter to use";
};
package = mkOption {
description = "F# formatter package";
type = package;
default = formats.${cfg.format.type}.package;
description = "F# formatter package";
};
};
};