Autofix missing spaces for test operators in bash

This page summarizes the projects mentioned and recommended in the original post on /r/vim

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • shfmt

    Dockernized shfmt. This formats shell script. (by tmknom)

  • I guess what you're asking is to automatically format on save. There's https://github.com/mvdan/sh, which between other things, is a shell formatter. I don't know what you're using but shfmt is available in the repos of some linux distros.

  • neoformat

    :sparkles: A (Neo)vim plugin for formatting code.

  • You can use it with neoformat, they have instructions in the README to set up formatting on save. Which is what you want. Or you could create an autocommand/mapping to run shfmt on the current buffer without having to install a plugin.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts