languageserver
languageserver copied to clipboard
"Format Document" does not observe `"files.insertFinalNewline": true`
Using the current dev version of styler, devtools::install_github("rlib/styler"), and having "files.insertFinalNewline": true in the R-specific settings, saving a file formats it fine, adding a trailing newline.
However, manually selecting "Format Document" on that same file removes that newline again.
Maybe try update {styler}, IIRC, we fixed something around that problem last year.