diff options
author | Jonas Strittmatter <40792180+smjonas@users.noreply.github.com> | 2022-08-05 04:16:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-05 10:16:26 +0800 |
commit | 7ebcb9b3332e4dcc0bca7a105923555c390fb6b5 (patch) | |
tree | c163d09fdddd3ace0ff6beb3a9747b15a3632d2b /runtime/lua/vim/lsp/util.lua | |
parent | a78606ec53f7e46884fad274e58c79b8e126b39a (diff) | |
download | rneovim-7ebcb9b3332e4dcc0bca7a105923555c390fb6b5.tar.gz rneovim-7ebcb9b3332e4dcc0bca7a105923555c390fb6b5.tar.bz2 rneovim-7ebcb9b3332e4dcc0bca7a105923555c390fb6b5.zip |
docs: improve example in incremental preview section (#19613)
- Separate preview and callback functions to make the example easier to understand
- Use false instead of 0 for boolean arguments in API function calls
- Remove explicit nil checks for consistency
- Format with stylua
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
0 files changed, 0 insertions, 0 deletions