David wrote:

> On Tuesday, October 20, 2015 at 8:47:27 PM UTC+2, ZyX wrote:
> > 2015-10-20 21:11 GMT+03:00 glts <676c7...@gmail.com>:
> > > In a plain Vim installation, if I have a personal ftplugin
> > > ~/.vim/ftplugin/text.vim that contains the line
> > >
> > >         setlocal expandtab
> > 
> > This file is missing `b:undo_ftplugin` variable, see :h undo_ftplugin.
> > Examples are in every or nearly every ftplugin file in default
> > distribution.
> 
> That does mean that the information in the user manual at ":h 43.1" is
> incorrect, though -- or at least incomplete. The example in the user
> manual has just a setting and a mapping, and no undo boilerplate.

Thanks for the hint, I'll add some text to explain this.

> In fact, I get the feeling I'm back to square one regarding personal
> filetype settings -- is there at all a robust way to tweak settings for
> some filetype and have them undone properly after another :setfiletype?
> 
> This belongs in vim_use, but documentation could be more accurate. And
> the original request still stands.

-- 
I started out with nothing, and I still have most of it.
                                -- Michael Davis -- "Tonight Show"

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to