Open zargot opened 6 years ago
This was reported as an upstream issue in Nim. Another mitigation we can apply here is to start treating nims files as a different language mode.
Any progress on this?
https://gitlab.com/somini/nim.nvim
I forked this and just removed all IDE functions. There's just:
It's just a basic version of this.
When opening a nimscript file (*.nims) into vim, all "exec" statements are executed. This makes editing nimscript files very impractical, and poses a huge security risk.
example.nims:
This seems to occur in autoload/nim.vim:nim#init:
My current workaround is to comment out the whole function call in ftplugin/nim.vim:
"call nim#init()
Thanks for your time.