updated documentation
This commit is contained in:
parent
74db516798
commit
79a5106e76
26
README.md
26
README.md
|
|
@ -152,32 +152,6 @@ require("conform").setup({
|
|||
})
|
||||
```
|
||||
|
||||
#### With Lazy.nvim
|
||||
|
||||
```lua
|
||||
{
|
||||
"stevearc/conform.nvim",
|
||||
event = { "BufWritePre" },
|
||||
cmd = { "ConformInfo" },
|
||||
opts = {
|
||||
formatters_by_ft = {
|
||||
cs = { "csharpierd" },
|
||||
},
|
||||
formatters = {
|
||||
csharpierd = {
|
||||
command = "csharpierd",
|
||||
args = { "$FILENAME" },
|
||||
stdin = true,
|
||||
},
|
||||
},
|
||||
format_on_save = {
|
||||
timeout_ms = 5000,
|
||||
lsp_fallback = true,
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
### Benefits of using csharpierd with conform.nvim
|
||||
|
||||
- **Fast formatting**: Reuses the CSharpier server process, avoiding startup overhead
|
||||
|
|
|
|||
Loading…
Reference in New Issue