On 2020-03-17, Emir Sarı wrote:
> Due to Swift project's code indentation settings, Swift filetype plugin uses 2
> spaces for ts and sw. This conflicts with Xcode, which uses 4 by default (and
> generally Swift projects use 4), and if same file is opened via Vim or vice
> versa, it's always extra steps to fix indentation. This PR sets ts and sw to 
> 4,
> for a more unified environment.
> 
> I've brought this up to Swift team, but they prefer to keep it 2.

If this plugin is part of the Swift project and the Swift project
team prefers 2, wouldn't it be more appropriate to put your
preferences for 4 into ~/.vim/after/ftplugin/swift.vim?

Regards,
Gary

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20200317172027.GC9925%40phoenix.

Raspunde prin e-mail lui