On Tue, Oct 07, 2014 at 03:46:56PM +0200, Martin Tournoij wrote:
> > If you want your own settings and never want to have filetype plugins
> > enabled, do NOT set the :filetype plugin command in your .vimrc (so
> > ftplugins are effectively disabled). Alternatively you can override
> > those settings for specific filetypes by creating your own
> > after/ftplugin.vim files.
> Thanks,
> I think there is a difference; ftplugin files almost always sets useful,
> filetype-specific stuff.
> A quick grep on setlocal shows that it usually just sets comments, foldexpr,
> formatoptions, etc. These things are what almost everyone wants, regardless of
> personal preferences (I *want* those settings).
> This is not the case for expandtab & tabstop. These are "personal"
> settings, and, IMHO, different from almost all other stuff set in ftplugin
> files.
> Also, for SASS they're overwriten in the indent file, which gets loaded
> regardless of filetype plugins (AFAIK ?)
if you create an after/filetype/python.vim and an after/indent/sass.vim
and all you put in them are your tab preferences, the distributed
modules will be run first, followed by your "after" modules which will
affect only the tab settings
it seems you have only two such modules to create, they will survive
upgrades, so -- not so much work, eh?
--
_|_ _ __|_|_ ._ o|
|_(_)(_)|_| ||_)||<
|
--
--
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].
For more options, visit https://groups.google.com/d/optout.