diff options
author | Evgeni Chasnovski <evgeni.chasnovski@gmail.com> | 2024-06-21 16:23:05 +0300 |
---|---|---|
committer | Evgeni Chasnovski <evgeni.chasnovski@gmail.com> | 2024-06-24 20:23:11 +0300 |
commit | 07cc559cdf11acb3031b6b7ba53e65285a6f4b3f (patch) | |
tree | f52ec2651d005d0cd18b97018699d4bf32c8b291 /runtime/lua/vim/lsp/completion.lua | |
parent | f8795365deb88ab4e108858c563284b1082d06d4 (diff) | |
download | rneovim-07cc559cdf11acb3031b6b7ba53e65285a6f4b3f.tar.gz rneovim-07cc559cdf11acb3031b6b7ba53e65285a6f4b3f.tar.bz2 rneovim-07cc559cdf11acb3031b6b7ba53e65285a6f4b3f.zip |
feat(lua): update `vim._with` to allow more granular option contexts
Problem: with a single `context.options` there is no way for user to
force which scope (local, global, both) is being temporarily set and
later restored.
Solution: replace single `options` context with `bo`, `go`, `wo`, and
`o`. Naming and implementation follows how options can be set directly
with `vim.*` (like `vim.bo`, etc.).
Options are set for possible target `win` or `buf` context.
Diffstat (limited to 'runtime/lua/vim/lsp/completion.lua')
0 files changed, 0 insertions, 0 deletions