diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-09-30 14:41:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-30 14:41:34 +0800 |
commit | dc6d0d2daf69e2fdadda81feb97906dbc962a239 (patch) | |
tree | 7cf93549ec3282e1f42baf89e97d7890daeb5d70 /test/unit/optionstr_spec.lua | |
parent | cf8b2c0e74fd5e723b0c15c2ce84e6900fd322d3 (diff) | |
download | rneovim-dc6d0d2daf69e2fdadda81feb97906dbc962a239.tar.gz rneovim-dc6d0d2daf69e2fdadda81feb97906dbc962a239.tar.bz2 rneovim-dc6d0d2daf69e2fdadda81feb97906dbc962a239.zip |
refactor: reorganize option header files (#25437)
- Move vimoption_T to option.h
- option_defs.h is for option-related types
- option_vars.h corresponds to Vim's option.h
- option_defs.h and option_vars.h don't include each other
Diffstat (limited to 'test/unit/optionstr_spec.lua')
-rw-r--r-- | test/unit/optionstr_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/optionstr_spec.lua b/test/unit/optionstr_spec.lua index f8122f4fe0..2e7198a63a 100644 --- a/test/unit/optionstr_spec.lua +++ b/test/unit/optionstr_spec.lua @@ -4,10 +4,10 @@ local itp = helpers.gen_itp(it) local to_cstr = helpers.to_cstr local eq = helpers.eq -local option = helpers.cimport("./src/nvim/optionstr.h") +local optionstr = helpers.cimport("./src/nvim/optionstr.h") local check_ff_value = function(ff) - return option.check_ff_value(to_cstr(ff)) + return optionstr.check_ff_value(to_cstr(ff)) end describe('check_ff_value', function() |