diff options
author | Jakob Schnitzer <mail@jakobschnitzer.de> | 2017-03-30 22:03:52 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-03-30 22:03:52 +0200 |
commit | eb0e94f71b1f44cebf7ae5c1bcff348264af6cef (patch) | |
tree | 2d904e9a1409f24389a48bf4a31f9822301a3745 /src/nvim/api/vim.c | |
parent | 66b336d89bd5b45e60587b3c1689c7435019d775 (diff) | |
download | rneovim-eb0e94f71b1f44cebf7ae5c1bcff348264af6cef.tar.gz rneovim-eb0e94f71b1f44cebf7ae5c1bcff348264af6cef.tar.bz2 rneovim-eb0e94f71b1f44cebf7ae5c1bcff348264af6cef.zip |
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.
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r-- | src/nvim/api/vim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index 975446057c..6926436d2f 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -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) { |