diff options
author | smolck <46855713+smolck@users.noreply.github.com> | 2021-11-21 19:40:06 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-21 18:40:06 -0700 |
commit | 04bfd20bb8dfa2cfa0ca357e3a9cea79ed47ad25 (patch) | |
tree | cfaf72de4edf601358a9cbc9855bbe6cabec403a /test/functional/vimscript/executable_spec.lua | |
parent | 0d967f0298a355452f62b9c76c34e102a6b9016e (diff) | |
download | rneovim-04bfd20bb8dfa2cfa0ca357e3a9cea79ed47ad25.tar.gz rneovim-04bfd20bb8dfa2cfa0ca357e3a9cea79ed47ad25.tar.bz2 rneovim-04bfd20bb8dfa2cfa0ca357e3a9cea79ed47ad25.zip |
fix(diagnostic): remove invalid buffers from cache (#16397)
Errors were being caused by invalid buffers being kept around in
diagnostic_cache, so add a metatable to diagnostic_cache which attaches
to new buffers in the cache, removing them after they are invalidated.
Closes #16391.
Co-authored-by: Gregory Anders <8965202+gpanders@users.noreply.github.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions