Saturday, September 10, 2016

Re: Annoying "smart" indentation

On Friday, September 9, 2016 at 3:47:50 AM UTC-4, Christian Brabandt wrote:
> Hi otajuun!
>
> On Do, 08 Sep 2016, otajuun wrote:
> > And I don't have any .vimrc or other vim config file that I know of.
> >
> > I suppose I'll once again edit /usr/share/vim/vim74/defaults.vim, changing
> > filetype plugin indent on
> > to
> > filetype plugin on
> >
> > So that it doesn't auto-load the indentation settings for the filetype.
> >
> > It completely fixes my issue, but I still find it weird that the behaviour changed all of a sudden.
>
> You can set `let g:skip_defaults_vim=1` in your .vimrc to not skip
> loading of the defaults.vim file
>
>
> Best,
> Christian
> --
> Das Chaos ist die Ordnung der Natur. Die Physik versucht
> das Chaos zu ordnen. Somit ist die Physik der Todfeind der
> natürlichen Ordnung.
> -- Benjamin Stramke

This works, thanks! I much prefer editing my vimrc rather than the default files in /usr/share, and this seems to completely solve the issue.

I still find it weird though that the behaviour changed all of a sudden... Was that a change in the defaults that happened recently? Or maybe the arch team did their own modification somehow?

Thanks!
Jonathan

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: