When I am trying to format R code nothing happens.
Details
- I am using zed version
0.204.3
- I am using the R extension version
v0.2.4
- R packages:
$ Rscript -e "packageVersion('languageserver')"
[1] ‘0.3.16’
$ Rscript -e "packageVersion('lintr')"
[1] ‘3.2.0’
$ Rscript -e "packageVersion('styler')"
[1] ‘1.11.0’
- The zed log shows the LSP is used for formatting:
[project.lsp_format] Formatting via LSP
- When formatting a file manually with
Rscript -e 'library("styler"); style_file("<file>")' the file is formatted as expected
Is there any configuration option I am missing to enable formatting?
When I am trying to format R code nothing happens.
Details
0.204.3v0.2.4[project.lsp_format] Formatting via LSPRscript -e 'library("styler"); style_file("<file>")'the file is formatted as expectedIs there any configuration option I am missing to enable formatting?