Skip to content

gqaj (pretty-print) should respect expandtab #3

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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