Skip to content

gqaj (pretty-print) should respect expandtab #3

@hovissimo

Description

@hovissimo

I've configured my indentation whitespace settings to match what my team likes (tabs).

:set expandtab?
noexpandtab

When I use gqaj in a json file, the indenting tabs are replaced with two spaces (shiftwidth is respected).

https://github.com/tpope/vim-jdaddy/blob/master/autoload/jdaddy.vim#L147 seems relevant

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