You can use C or VIMscript but programs like Neovim support Lua as well which makes it really easy to make plugins.
Reply on news.ycombinator.com