From aeedf3840d8dc70a278b2971342fb13872e0c360 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Tue, 28 Jun 2022 22:44:17 +0200 Subject: Nvim: fix for 0.7 --- .config/nvim/lua/git.lua | 2 +- .config/nvim/lua/lsp_conf.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '.config/nvim') diff --git a/.config/nvim/lua/git.lua b/.config/nvim/lua/git.lua index cde8f78..01169ad 100644 --- a/.config/nvim/lua/git.lua +++ b/.config/nvim/lua/git.lua @@ -23,7 +23,7 @@ require('gitsigns').setup { ['n hS'] = 'lua require"gitsigns".stage_buffer()', ['n hu'] = 'lua require"gitsigns".undo_stage_hunk()', ['n hp'] = 'lua require"gitsigns".preview_hunk()', - ['n hB'] = 'lua require"gitsigns".blame_line(true)', + ['n hB'] = 'lua require"gitsigns".blame_line{full=true}', }, signcolumn = true, -- Toggle with `:Gitsigns toggle_signs` --numhl = true, -- Toggle with `:Gitsigns toggle_numhl` diff --git a/.config/nvim/lua/lsp_conf.lua b/.config/nvim/lua/lsp_conf.lua index 6555f2e..291aaf3 100644 --- a/.config/nvim/lua/lsp_conf.lua +++ b/.config/nvim/lua/lsp_conf.lua @@ -52,7 +52,7 @@ local common_on_attach = function(client, bufnr) vim.api.nvim_buf_set_keymap(bufnr, "n", "gr", "lua vim.lsp.buf.references()", opts) vim.api.nvim_buf_set_keymap(bufnr, "n", "e", "lua vim.lsp.diagnostic.show_line_diagnostics()", opts) - lsp_status.on_attach(client) + -- lsp_status.on_attach(client) end -- cgit v1.2.3-18-g5258