aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/diagnostic.lua
diff options
context:
space:
mode:
authorluukvbaal <luukvbaal@gmail.com>2025-02-12 17:20:51 +0100
committerGitHub <noreply@github.com>2025-02-12 08:20:51 -0800
commit15bc930fca94a43fb5546b48d7c09cf223b63233 (patch)
tree6da987ed997e4f5b7955522967b4db6a41ff4424 /runtime/lua/vim/diagnostic.lua
parentbe8d87014c0c120ece50aabff307c1f5d9167ec0 (diff)
downloadrneovim-15bc930fca94a43fb5546b48d7c09cf223b63233.tar.gz
rneovim-15bc930fca94a43fb5546b48d7c09cf223b63233.tar.bz2
rneovim-15bc930fca94a43fb5546b48d7c09cf223b63233.zip
fix(memline): don't check line count for closed memline #32403
Problem: Error thrown when for invalid line number which may be accessed in an `on_detach` callback at which point line count is intentionally set to 0. Solution: Move empty memline check to before line number check.
Diffstat (limited to 'runtime/lua/vim/diagnostic.lua')
0 files changed, 0 insertions, 0 deletions