Quramy / tsuquyomi

A Vim plugin for TypeScript
http://www.vim.org/scripts/script.php?script_id=5151
1.39k stars 72 forks source link

tsuquyomi_import_curly_spacing = 1 Spaces not Added #262

Closed benbotto closed 5 years ago

benbotto commented 5 years ago

Thank you for the great tool!

When I run :TsuImport with tsuquyomi_import_curly_spacing (the default) set to 1, the generated import statement does not have spaces. E.g. if I run :TsuImport on a User type, I get this:

import {User} from './test/entity/user.entity';

However, if I use the quick-fix (:TsuQuickFix) then the import does have spaces between the curly braces. Setting tsuquyomi_import_curly_spacing = 0 does not seem to affect the quick-fix: the spaces are still inserted.

benbotto commented 5 years ago

Sorry, the :TsuImport does seem to add spaces around the spaces after I a reinstall. Probably something on my end and a false report. Closing.