Closed pittcat closed 3 years ago
I have tried this code:
"stylua": {
"command": "stylua",
"args": ["--search-parent-directories", "--stdin-filepath", "%filepath"]
}
But it don't take any effect.
@pittcat Did you solve the problem, please add "--"
and "-"
to the args and try again
e.g. :
"stylua": {
"command": "stylua",
"args": ["--search-parent-directories", "--stdin-filepath", "%filepath", "--", "-"]
}
Yes, I solved the problem. Thank you.
Neoformat code about stylua is as follow: