diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2021-11-16 08:47:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-16 08:47:49 -0700 |
commit | 98af683e0fb129520a9c0cb29f324743e0e2083f (patch) | |
tree | 29f9160d59035ed1202a80b93b37d446cb6aa879 /runtime/lua/vim/lsp/util.lua | |
parent | 890f8cd750679381a66a2a12f0dda7096f59f8a0 (diff) | |
download | rneovim-98af683e0fb129520a9c0cb29f324743e0e2083f.tar.gz rneovim-98af683e0fb129520a9c0cb29f324743e0e2083f.tar.bz2 rneovim-98af683e0fb129520a9c0cb29f324743e0e2083f.zip |
refactor(diagnostic): make bufnr arguments consistent (#16323)
Make the bufnr argument have similar semantics across API functions;
namely, a nil value means "all buffers" while 0 means "current buffer".
This increases the flexibility of the API by allowing functions such as
enable() and disable() to apply globally or per-namespace, rather than
only on a specific buffer.
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
0 files changed, 0 insertions, 0 deletions