mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-16 07:27:47 +00:00
Compare commits
4 commits
9f8b7edbf6
...
43843da230
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
43843da230 | ||
|
|
d92b3f3714 | ||
|
2aa1879996 |
|||
|
|
d6a310252f |
3 changed files with 7 additions and 5 deletions
|
|
@ -82,6 +82,7 @@ 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,30 +60,31 @@ 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