bash-lsp / bash-language-server

A language server for Bash
MIT License
2.16k stars 125 forks source link

Formatting of associative arrays on save #1188

Open jythub opened 2 months ago

jythub commented 2 months ago

Code editor

neovim

Platform

Linux

Version

5.0.0

What steps will reproduce the bug?

arr[one-1]="test"

How often does it reproduce? Is there a required condition?

every time

What is the expected behavior?

on save file :w to remain as arr[one-1]="test"

What do you see instead?

arr[one - 1]="test"

Additional information

Will not happen without the bash-language-server