Skip to content

vs-shell-format make *.conf config file invalid #388

@ahaooahaz

Description

@ahaooahaz

I have a configuration file that defines many shortcuts. When saving the file, vs-shell-format formats it into an incorrect format. I hope to have a feature similar to .shfmtignore to ignore formatting for specific files.

map ctrl+f>1 goto_tab 1
map ctrl+f>2 goto_tab 2
map ctrl+f>3 goto_tab 3
map ctrl+f>4 goto_tab 4
map ctrl+f>5 goto_tab 5
map ctrl+f>6 goto_tab 6
map ctrl+f>7 goto_tab 7
map ctrl+f>8 goto_tab 8
map ctrl+f>9 goto_tab 9
map ctrl+f>0 goto_tab 10

formatted into an invalid format

map ctrl+f goto_tab 1 >1
map ctrl+f goto_tab 2 >2
map ctrl+f goto_tab 3 >3
map ctrl+f goto_tab 4 >4
map ctrl+f goto_tab 5 >5
map ctrl+f goto_tab 6 >6
map ctrl+f goto_tab 7 >7
map ctrl+f goto_tab 8 >8
map ctrl+f goto_tab 9 >9
map ctrl+f goto_tab 10 >0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions