summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/pack.lua
diff options
context:
space:
mode:
authorEvgeni Chasnovski <evgeni.chasnovski@gmail.com>2026-04-16 17:32:35 +0300
committerGitHub <noreply@github.com>2026-04-16 10:32:35 -0400
commit711f3cc299d8bedc46653a97d2b985aa18ec4925 (patch)
tree269aca9355fd00a36bd817414c0d84e0059de1de /runtime/lua/vim/pack.lua
parent3cca237984b90fb8b2a8ae9f806a5adb32f7e7bd (diff)
docs(diagnostic): severity names are sometimes allowed #39120
Problem: Using severity names (like "ERROR", "WARN") in functions like `vim.diganostic.get()` and `vim.diagnostic.config()` is allowed and tested for many years now. But documentation about it can be clearer. Solution: Explicitly mention that severity names are allowed in some situations. Ideally, it would also require updating typing for `vim.diagnostic.SeverityFilter`, but that looks problematic to do robustly.
Diffstat (limited to 'runtime/lua/vim/pack.lua')
0 files changed, 0 insertions, 0 deletions