diff options
Diffstat (limited to 'runtime/lua/vim/diagnostic.lua')
| -rw-r--r-- | runtime/lua/vim/diagnostic.lua | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/runtime/lua/vim/diagnostic.lua b/runtime/lua/vim/diagnostic.lua index b4537c2882..fcb1e61764 100644 --- a/runtime/lua/vim/diagnostic.lua +++ b/runtime/lua/vim/diagnostic.lua @@ -447,7 +447,7 @@ local function set_list(loclist, opts)      vim.fn.setqflist({}, ' ', { title = title, items = items })    end    if open then -    vim.api.nvim_command(loclist and "lopen" or "copen") +    vim.api.nvim_command(loclist and "lopen" or "botright copen")    end  end @@ -920,7 +920,8 @@ M.handlers.underline = {          underline_ns,          higroup,          { diagnostic.lnum, diagnostic.col }, -        { diagnostic.end_lnum, diagnostic.end_col } +        { diagnostic.end_lnum, diagnostic.end_col }, +        { priority = vim.highlight.priorities.diagnostics }        )      end      save_extmarks(underline_ns, bufnr) | 
