mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-08 16:24:32 +02:00
treewide: Reformat with nixfmt
This commit is contained in:
parent
c6281260dc
commit
62f32bfc71
459 changed files with 28139 additions and 26377 deletions
|
@ -1,11 +1,9 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.plugins.lsp.servers.vls;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.plugins.lsp.servers.vls = {
|
||||
autoSetFiletype = mkOption {
|
||||
type = types.bool;
|
||||
|
@ -18,11 +16,5 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
config =
|
||||
mkIf cfg.enable
|
||||
{
|
||||
filetype.extension =
|
||||
mkIf cfg.autoSetFiletype
|
||||
{v = "vlang";};
|
||||
};
|
||||
config = mkIf cfg.enable { filetype.extension = mkIf cfg.autoSetFiletype { v = "vlang"; }; };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue