REditorSupport / languageserver

An implementation of the Language Server Protocol for R
Other
564 stars 91 forks source link

Add `nline_to_break_succession` as option (#643) #644

Closed kylebutts closed 6 months ago

kylebutts commented 7 months ago

Closes #643

kylebutts commented 7 months ago

Oops. I didn't realize this PR was still open and added a commit that was meant for a separate PR @renkun-ken. I added a small change to the comment folding code to ignore # %% for comments. When code chunks have comments on the immediate line (e.g. below), they wouldn't collapse the whole code chunk and just the comment.

CleanShot 2023-11-30 at 12 37 57@2x