diff options
author | dundargoc <gocdundar@gmail.com> | 2024-06-09 15:59:44 +0200 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-06-10 11:50:39 +0200 |
commit | 743c5808b616daece73145ddd12b39ae07bbd87a (patch) | |
tree | bd6b56d41e36912861b0e0da4f6be548d108555a /runtime/lua/vim/glob.lua | |
parent | 20f22f75ee629ae2db4cd99e730fa0af26553177 (diff) | |
download | rneovim-743c5808b616daece73145ddd12b39ae07bbd87a.tar.gz rneovim-743c5808b616daece73145ddd12b39ae07bbd87a.tar.bz2 rneovim-743c5808b616daece73145ddd12b39ae07bbd87a.zip |
fix(api): allow `scope = 'local'` with `buf` when using `nvim_get_option_value`
`nvim_get_option_value` throws a warning if both `scope` and `buf`
options are used at the same time. This is because using `buf` always
implies `scope` is local, and is therefore not needed. There's however
no need to error if `scope` is already set "local" as it's the correct
value.
Diffstat (limited to 'runtime/lua/vim/glob.lua')
0 files changed, 0 insertions, 0 deletions