mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 02:55:09 +02:00
add write to prettier command
This commit is contained in:
parent
e827008120
commit
c294f1fb02
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue