Control: tag -1 upstream confirmed On Mon, Apr 17, 2023 at 07:36:57PM +0200, Matthijs van Duin wrote: > I noticed when editing perl code in vim that pressing enter after the > opening brace of a subroutine no longer indents like you'd expect: > > // expected: > sub foo { > _<-- cursor here > > // actual: > sub foo { > _<-- cursor here > > This worked correctly in debian bullseye (vim 8.2).
This was reported upstream[0] too, and their fix was exactly as you surmised. [0]: https://github.com/vim-perl/vim-perl/issues/267 Cheers, -- James GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB