On Friday, August 19, 2016 at 3:45:16 PM UTC-5, otajuun wrote:
> As per the documentation, I tried adding "filetype indent off" at the end, to no effect. I can turn off that annoying "feature" on a per-file basis by doing:
>
> :set indentexpr=
>
> But I have to do it for every single file I open, which is beyond annoying.
>
That's weird. The "filetype indent off" at the end of your .vimrc should have worked.
When you have a file open which has the unwanted auto-indenting, what is the output of ":verbose set indentexpr?"?
This should tell you which script set the option. If it's not an indent script, that's the problem. If it IS an indent script, then I'm not sure why it's being sourced, since you have turned off filetype indent.
--
--
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.
Thursday, August 25, 2016
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment