mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
Compare commits
2 commits
152acfce5a
...
b321c01047
Author | SHA1 | Date | |
---|---|---|---|
|
b321c01047 | ||
|
fbd15f5f3a |
1 changed files with 0 additions and 14 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue