diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2021-12-16 12:13:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-16 12:13:30 -0700 |
commit | 80210c189f2abb668614fc6d98ac9f51433d4c47 (patch) | |
tree | 2f91d62550caefe728864d124c7c123524640869 /runtime/lua/vim/diagnostic.lua | |
parent | b515160cef5c160c271dc11649094803625123dc (diff) | |
download | rneovim-80210c189f2abb668614fc6d98ac9f51433d4c47.tar.gz rneovim-80210c189f2abb668614fc6d98ac9f51433d4c47.tar.bz2 rneovim-80210c189f2abb668614fc6d98ac9f51433d4c47.zip |
refactor(diagnostic): remove hack (#16685)
No longer required since #16548.
Diffstat (limited to 'runtime/lua/vim/diagnostic.lua')
-rw-r--r-- | runtime/lua/vim/diagnostic.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/runtime/lua/vim/diagnostic.lua b/runtime/lua/vim/diagnostic.lua index a33fb2679c..adf941cbbf 100644 --- a/runtime/lua/vim/diagnostic.lua +++ b/runtime/lua/vim/diagnostic.lua @@ -299,11 +299,6 @@ local function restore_extmarks(bufnr, last) if not found[extmark[1]] then local opts = extmark[4] opts.id = extmark[1] - -- HACK: end_row should be end_line - if opts.end_row then - opts.end_line = opts.end_row - opts.end_row = nil - end pcall(vim.api.nvim_buf_set_extmark, bufnr, ns, extmark[2], extmark[3], opts) end end |