aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_vimdoc.py
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-03-06 13:23:03 +0100
committerJustin M. Keyes <justinkz@gmail.com>2023-03-06 14:51:56 +0100
commite31e49a8e3aac25e923dce15cc76dca4a447947f (patch)
treea00172499bce9c7b52a1591aa9bada742bbfb351 /scripts/gen_vimdoc.py
parent0e7196438d8f856eecd7c90e160b79cbc8fb08dc (diff)
downloadrneovim-e31e49a8e3aac25e923dce15cc76dca4a447947f.tar.gz
rneovim-e31e49a8e3aac25e923dce15cc76dca4a447947f.tar.bz2
rneovim-e31e49a8e3aac25e923dce15cc76dca4a447947f.zip
refactor(vim.version): cleanup
- version.cmp(): assert valid version - add test for loading vim.version (the other tests use shared.lua in the test runner) - reduce test scopes, reword test descriptions
Diffstat (limited to 'scripts/gen_vimdoc.py')
-rwxr-xr-xscripts/gen_vimdoc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/gen_vimdoc.py b/scripts/gen_vimdoc.py
index 45a6d8e402..1e85fa49e9 100755
--- a/scripts/gen_vimdoc.py
+++ b/scripts/gen_vimdoc.py
@@ -194,6 +194,7 @@ CONFIG = {
'keymap': 'vim.keymap',
'fs': 'vim.fs',
'secure': 'vim.secure',
+ 'version': 'vim.version',
},
'append_only': [
'shared.lua',