From 05d0318fee34b1d5b7752f48410f9d518f3d4af2 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Fri, 23 Aug 2024 18:39:13 -0700 Subject: [PATCH] show_line_diagnostics has been removed from nvim --- vimrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vimrc b/vimrc index 5829b99..d0ac826 100644 --- a/vimrc +++ b/vimrc @@ -365,7 +365,7 @@ inoremap compe#scroll({ 'delta': -4 }) nnoremap gD lua vim.lsp.buf.declaration() nnoremap gd lua vim.lsp.buf.definition() nnoremap K lua vim.lsp.buf.hover() -nnoremap K lua vim.lsp.diagnostic.show_line_diagnostics{show_header = false} +nnoremap K lua vim.diagnostic.open_float{header = ''} nnoremap gi lua vim.lsp.buf.implementation() nnoremap lua vim.lsp.buf.signature_help() nnoremap wa lua vim.lsp.buf.add_workspace_folder() @@ -375,7 +375,6 @@ nnoremap D lua vim.lsp.buf.type_definition() nnoremap rn lua vim.lsp.buf.rename() nnoremap ca lua vim.lsp.buf.code_action() nnoremap gr lua vim.lsp.buf.references() -nnoremap e lua vim.lsp.diagnostic.show_line_diagnostics() nnoremap [d lua vim.diagnostic.goto_prev() nnoremap ]d lua vim.diagnostic.goto_next() nnoremap q lua vim.lsp.diagnostic.set_loclist()