aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/vim_spec.lua
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2021-09-22 14:59:56 -0600
committerJosh Rahm <rahm@google.com>2021-10-05 02:21:59 -0600
commitba1e9454aacd27582d1d4c5b5153bd175a16c461 (patch)
treeb3681474f076fffc7d7d948f16cd91369a69babc /test/functional/lua/vim_spec.lua
parent264c6c463811f45c2a66e0ac948c49657c57b3ac (diff)
downloadrneovim-ba1e9454aacd27582d1d4c5b5153bd175a16c461.tar.gz
rneovim-ba1e9454aacd27582d1d4c5b5153bd175a16c461.tar.bz2
rneovim-ba1e9454aacd27582d1d4c5b5153bd175a16c461.zip
Add a check to the gen_options.lua script to ensure the options are well ordered.
(Neo)Vim uses a jump table based on the first character of the option's name. This means for it to work all options with the same first character must be together. If this is violated, some options may seem to disappear, which can sometimes happen during merges if not careful. This commit adds a check to the gen_options.lua script so the build will fail if this constraint is violated.
Diffstat (limited to 'test/functional/lua/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions