Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refreshing the file with :e raises error in file with modeline #137

Open
kaddkaka opened this issue Nov 3, 2023 · 0 comments
Open

refreshing the file with :e raises error in file with modeline #137

kaddkaka opened this issue Nov 3, 2023 · 0 comments

Comments

@kaddkaka
Copy link

kaddkaka commented Nov 3, 2023

There seems to be some problem with modelines when refreshing the file twice, I see errors as below:

Error detected while processing modelines[1]..OptionSet Autocommands for "tabstop"..function context#update[87]..context#popup#update_context[10]..<SNR>43_show[21]..<SN
R>43_open[3]..context#popup#nvim#open:
line    3:
E12: Command not allowed in secure mode in current dir or tag search
Error detected while processing modelines[1]..OptionSet Autocommands for "tabstop"..function context#update[87]..context#popup#update_context[10]..<SNR>43_show[21]..<SN
R>43_open[3]..context#popup#nvim#open:
line    3:
E12: Command not allowed in secure mode in current dir or tag search
Error detected while processing modelines[1]..OptionSet Autoc
ommands for "tabstop"..function context#update[87]..context#p
opup#update_context[10]..<SNR>43_show[21]..<SNR>43_open[3]..c
ontext#popup#nvim#open:
line    3:
E12: Command not allowed in secure mode in current dir or tag
 search
Press ENTER or type command to continue

Buffer content:

/* vi:set ts=8 sts=4 sw=4 noet: */

extern "C" {
    # include "vim.h"










}

#endif



image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant