diff options
author | Lewis Russell <lewis6991@gmail.com> | 2025-01-10 10:20:43 +0000 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2025-01-13 16:58:25 +0000 |
commit | 34e2185022ab698827b72751d77e218a1b6b6afe (patch) | |
tree | 9b8c0fe0a24b77a60e1e6511cfb3e2135b7789af /runtime/lua/vim/lsp/util.lua | |
parent | cb7b4e296238b46025de05203c886d67da401728 (diff) | |
download | rneovim-34e2185022ab698827b72751d77e218a1b6b6afe.tar.gz rneovim-34e2185022ab698827b72751d77e218a1b6b6afe.tar.bz2 rneovim-34e2185022ab698827b72751d77e218a1b6b6afe.zip |
fix(options): better handling of empty values
Problem:
Whether an option is allowed to be empty isn't well defined and
isn't properly checked.
Solution:
- For non-list string options, explicitly check the option value
if it is empty.
- Annotate non-list string options that can accept an empty value.
- Adjust command completion to ignore the empty value.
- Render values in Lua meta files
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
0 files changed, 0 insertions, 0 deletions