Bug#939369: vim: bash wrong auto indentation

2019-09-04 Thread Thibault Roulet
Hum, my bad. When opening vim without filename the "splash screen" says VIM - Vi IMproved version 8.0.707 by Bram Moolenaar et al. Did not even think to check in repo definitions. but in dpkg: # dpkg -l | grep vim ii  vim   2:8.0.0197-4+deb9u1  

Bug#939369: vim: bash wrong auto indentation

2019-09-04 Thread James McCoy
On Wed, Sep 04, 2019 at 07:20:51AM +0200, troulet wrote: > Since last update (vim 8.1.1401), That version isn't packaged in Debian. > the auto indentation function (gg=G) is > acting weirdly with bash scripts. > > A quick example > > #!/bin/bash > > if [[ $test1 == 1 ]]; then > echo $test1 >

Bug#939369: vim: bash wrong auto indentation

2019-09-03 Thread troulet
Package: vim Version: 2:8.1.0875-5 Severity: normal Hello, Since last update (vim 8.1.1401), the auto indentation function (gg=G) is acting weirdly with bash scripts. A quick example #!/bin/bash if [[ $test1 == 1 ]]; then echo $test1 while read myvar; do if [[ $myvar == 2 ]]; then