Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
This repository was archived by the owner on Apr 18, 2026. It is now read-only.

Reindent with = is broken #11

Description

@marak8

Have this in a Vim buffer

{
	manifest_version: 2,
  name: 'Pinboard Simple',
  version: '1.0',
  description: 'Simple extension for bookmarking to Pinboard',
}

Select all lines in visual mode (<S-V>) and press =. Result:

{
manifest_version: 2,
					  name: 'Pinboard Simple',
					  version: '1.0',
					  description: 'Simple extension for bookmarking to Pinboard',
}

This doesn't look good. My settings

set noexpandtab
set shiftwidth=4
set tabstop=4

Except for indent character, result does not depend on expandtab.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions