|
@@ -261,7 +261,7 @@ O = {
|
|
},
|
|
},
|
|
formatter = {
|
|
formatter = {
|
|
exe = "prettier",
|
|
exe = "prettier",
|
|
- args = { "--stdin-filepath", vim.api.nvim_buf_get_name(0), "--single-quote" },
|
|
|
|
|
|
+ args = { "--write", "--stdin-filepath", vim.api.nvim_buf_get_name(0), "--single-quote" },
|
|
stdin = false,
|
|
stdin = false,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
@@ -276,7 +276,7 @@ O = {
|
|
},
|
|
},
|
|
formatter = {
|
|
formatter = {
|
|
exe = "prettier",
|
|
exe = "prettier",
|
|
- args = { "--stdin-filepath", vim.api.nvim_buf_get_name(0), "--single-quote" },
|
|
|
|
|
|
+ args = { "--write", "--stdin-filepath", vim.api.nvim_buf_get_name(0), "--single-quote" },
|
|
stdin = false,
|
|
stdin = false,
|
|
},
|
|
},
|
|
},
|
|
},
|