Vim - python and gitcommit filetypes sometimes use hard tabs
Notgnoshi opened this issue · comments
I was able to reproduce this by pasting
$ tree /srv -L 2 -P '*.sh'
/srv
├── minecraft
│ ├── backups
│ ├── docker-run.sh
│ ├── MinecraftStats
│ └── server
├── nginx
│ └── docker-run.sh
├── photoprism
│ ├── docker-run.sh
│ └── storage
├── pihole
│ ├── docker-run.sh
│ └── etc
├── plex
│ ├── config
│ ├── docker-run.sh
│ └── transcode
└── website
├── nginx
├── root
├── scripts
└── templates
into a commit message, and indenting the whole thing one level. This matches other gitcommit
behavior I've seen, where pasting the output of jq
(which included intended JSON) and indenting one level inserted hard tabs.
I can't reproduce this anymore.