diff options
author | Josh Rahm <rahm@google.com> | 2021-09-22 14:59:56 -0600 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2022-01-11 14:12:29 -0700 |
commit | a3ce4403c6ec97fdadb92e4ffc7ea65bf797112c (patch) | |
tree | 8238b2b7bf46b5d2824224d4383633537fcec560 /runtime/lua/vim/lsp/_snippet.lua | |
parent | 13c2be90350e0cab0cdc92c0614f42b93220be85 (diff) | |
download | rneovim-a3ce4403c6ec97fdadb92e4ffc7ea65bf797112c.tar.gz rneovim-a3ce4403c6ec97fdadb92e4ffc7ea65bf797112c.tar.bz2 rneovim-a3ce4403c6ec97fdadb92e4ffc7ea65bf797112c.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 'runtime/lua/vim/lsp/_snippet.lua')
0 files changed, 0 insertions, 0 deletions