Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
Precise steps to reproduce:
:cexpr ['vim: foo']
Vim reports "E518: Unknown option: foo"
Original comment by justi...@gmail.com
on 3 Aug 2014 at 4:48
I am sorry, but I don't see this problem. Running
vim -u NONE -N -c 'cexpr ["vim: foo"]'
Doesn't report an error message.
Original comment by chrisbr...@googlemail.com
on 4 Aug 2014 at 12:13
You're right, there's some extra step that is needed. I see this issue often,
but somehow I can't reproduce it at all now. I will report once I find the
cause.
Original comment by justi...@gmail.com
on 4 Aug 2014 at 2:02
Closing as invalid. If you can reproduce the issue, feel free to open a new
issue (or report at the vim-dev mailinglist) then.
Original comment by chrisbr...@googlemail.com
on 2 Oct 2014 at 7:44
This might happen when some plugin calls `doautocmd`, e.g. fugitive does this
for its `:Glog`:
BufRead Auto commands for "*"
cmd: call fugitive#detect(expand('<amatch>:p'))
(reported at https://github.com/tpope/vim-fugitive/issues/580)
Modelines currently get executed unconditionally in this case, but even with
the patch to only do so when commands have been called
(https://groups.google.com/d/msg/vim_dev/DidKMDAsppw/RHedJGM-G6EJ) this is an
issue.
It's not really a Vim issue though - except if Vim would decide to skip
modelines for &buftype != "".
Original comment by dhahler@gmail.com
on 20 Nov 2014 at 8:38
Original issue reported on code.google.com by
justi...@gmail.com
on 3 Aug 2014 at 4:45