aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/vim_spec.lua
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2015-11-15 17:43:41 -0500
committerMichael Reed <m.reed@mykolab.com>2015-11-15 18:34:18 -0500
commit3f7a4655351dc6facb709ab4d3c6e3bd8164da77 (patch)
tree973b11282fba634db4e21ffe8e453e2f433cc4f8 /test/functional/api/vim_spec.lua
parent91c5135f7145ccced93fad797f227a2fff3edab9 (diff)
downloadrneovim-3f7a4655351dc6facb709ab4d3c6e3bd8164da77.tar.gz
rneovim-3f7a4655351dc6facb709ab4d3c6e3bd8164da77.tar.bz2
rneovim-3f7a4655351dc6facb709ab4d3c6e3bd8164da77.zip
ex_cmds.lua: Use ex_ni directly
As can be seen in [1], the ifdefs are leftovers from Vim, where tons of features are optional. This is not the case in Nvim, so the macros are of little use. Besides, ex_ni is already used in a bunch of places, just not consistently. The ex_language macro was left untouched as the inclusion of ``:language'' actually is determined at compile time, unlike the other commands which _always_ print "this command is not available in this version". [1]: https://github.com/vim/vim/blob/master/src/ex_docmd.c#L18-L497 Reviewed-by: Justin M. Keyes <justinkz@gmail.com>
Diffstat (limited to 'test/functional/api/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions