I am a new user to neovim, and a moderator on this site said
You seem to imply that you expect there should be a native way to run [
filetype
] (and to some extent every Ex command) directly in Lua. But that's really not the case.
That's a fair point. I did assume and expect the Lua API to provide full support for everything you could do in Ex. If that not the case, should a lack of functionality in Lua be looked at is a part of the design, or merely things that yet need to be done. Is there a document on Lua in VIM and the design goals or a post on the mailing list detailing this?