Am 20.10.2014 um 08:23 schrieb Daniel Hahler:
I have seen a noticeable performance problem when using the
`vim-oblique` plugin, which was caused by calls to `doautocmd User
...` - although the user events did not exist
(https://github.com/junegunn/vim-oblique/issues/30).

While there is the `<nomodeline>` option for `:doautocmd`, Vim could
always skip applying the modeline (again) in case no commands were
executed.

I want unconditional execution of modelines.

" :DoModelines
" manually execute the modelines ("no matching autocmds" is a good thing
" here, we only need the side effect of :doautocmd); added 2010 Sep 27

com! -bar DoModelines :silent doautocmd User DoModelines

--
Andy

--
--
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