Compare commits

...

2 commits

Author SHA1 Message Date
Soliprem
b321c01047 languages/r: removing toggle for wrappers 2024-11-05 17:21:37 +01:00
Soliprem
fbd15f5f3a languages/r: attempting to create a toggle for wrappers 2024-11-05 17:20:31 +01:00

View file

@ -20,20 +20,6 @@
defaultFormat = "format_r";
formats = {
prettier = {
package = pkgs.nodePackages.prettier;
nullConfig = ''
local prettier = null_ls.builtins.formatting.prettier.with({
filetypes = { "r" },
extra_args = {
"--plugin", "prettier-plugin-r",
"--parser", "r"
}
})
table.insert(ls_sources, prettier)
'';
};
styler = {
package = pkgs.rWrapper.override {
packages = with pkgs.rPackages; [styler];