Bad indentation after curly braces #1683
Labels
area: formatting
Issues related to formatting and indentation
area: kernels
Issues related to Jupyter kernels and LSP servers
bug
Something isn't working
lang: r
Milestone
Positron Version:
Positron Version: 2023.10.0 (Universal) build 1356
Code - OSS Version: 1.83.0
Commit: d1119ff
Date: 2023-10-23T03:06:35.396Z
Electron: 25.8.4
ElectronBuildId: undefined
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin arm64 23.0.0
Steps to reproduce the issue:
When having code like the following:
and pressing return while the cursor is placed between the closing curly brace of the anonymous function and the closing bracket of the
lapply()
function you get this:ie. the closing bracket gets moved out one indentation level
What did you expect to happen?
The indentation of the closing bracket should be the same as the opening bracket
The text was updated successfully, but these errors were encountered: