You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: In case of single-line declarations of var or const blocks, invocation of code folding improperly swallows unrelated following lines, usually all, to the end of file. Declarations may be empty, non-empty, with a comment - it does not matter.
expected behavior: single-line declarations are unaffected with code folding and definitely should not fold unrelated lines which follow
how to replicate the issue:
insert single-line declaration of constants or variables
const ()
insert some code after above declaration
funcmain() {
fmt.Println("Hello, world!")
}
invoke code folding in that buffer (zM)
The text was updated successfully, but these errors were encountered:
environment: Vim 9.0, Linux x86_64
description: In case of single-line declarations of
var
orconst
blocks, invocation of code folding improperly swallows unrelated following lines, usually all, to the end of file. Declarations may be empty, non-empty, with a comment - it does not matter.expected behavior: single-line declarations are unaffected with code folding and definitely should not fold unrelated lines which follow
how to replicate the issue:
const ()
The text was updated successfully, but these errors were encountered: