mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-16 07:27:47 +00:00
Compare commits
No commits in common. "43843da2300fa2eba2dc880cfb30ff964a1311de" and "9f8b7edbf6d2c842c361c863aba633f1d7a17d72" have entirely different histories.
43843da230
...
9f8b7edbf6
3 changed files with 5 additions and 7 deletions
|
|
@ -82,7 +82,6 @@ isMaximal: {
|
|||
elixir.enable = false;
|
||||
haskell.enable = false;
|
||||
ruby.enable = false;
|
||||
fsharp.enable = false;
|
||||
|
||||
tailwind.enable = false;
|
||||
svelte.enable = false;
|
||||
|
|
|
|||
|
|
@ -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`.
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue