mirror of
https://github.com/neovim/neovim.git
synced 2026-04-26 17:24:18 +00:00
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
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user