vim-jdaddy icon indicating copy to clipboard operation
vim-jdaddy copied to clipboard

gqaj (pretty-print) should respect expandtab

Open hovissimo opened this issue 7 years ago • 0 comments

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

hovissimo avatar Aug 02 '17 14:08 hovissimo