[nvim] Add rescript plugin & coc config

This commit is contained in:
Alyxia Sother 2024-01-15 14:00:32 +01:00
parent 913bc6896b
commit 6923424bf0
No known key found for this signature in database
GPG key ID: 01E16C4E775A37E4
2 changed files with 9 additions and 1 deletions

View file

@ -17,13 +17,20 @@
filetypes = [ "nix" ];
rootPatterns = [ "flake.nix" ];
"settings.nil" = {
"formatting.command" = ["nixpkgs-fmt"];
"formatting.command" = [ "nixpkgs-fmt" ];
};
};
"go.goPlsOptions" = {
completion = true;
completeUnimported = true;
};
rescript = {
enable = true;
command = "rescript-language-server";
args = [ "--node-ipc" ];
filetypes = [ "rescript" ];
rootPatterns = [ "rescript.json" "bsconfig.json" ];
};
};
};
};