mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 13:08:33 +00:00
api: {get,set}_option should {get,set} global value of local options (#6405)
- nvim_get_option should return the global default of a local option. - nvim_set_option should set the global default of a local option.
This commit is contained in:

committed by
Justin M. Keyes

parent
66b336d89b
commit
eb0e94f71b
@@ -440,7 +440,7 @@ Object nvim_get_vvar(String name, Error *err)
|
||||
///
|
||||
/// @param name Option name
|
||||
/// @param[out] err Error details, if any
|
||||
/// @return Option value
|
||||
/// @return Option value (global)
|
||||
Object nvim_get_option(String name, Error *err)
|
||||
FUNC_API_SINCE(1)
|
||||
{
|
||||
|
Reference in New Issue
Block a user