summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-06-28 22:44:17 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-06-28 22:44:17 +0200
commitaeedf3840d8dc70a278b2971342fb13872e0c360 (patch)
treee58657f90a533da82d3d51d924321b2d9bb79289
parent9ea8856e5daa8bea3d3fee17b140d27cff2c5909 (diff)
Nvim: fix for 0.7
-rw-r--r--.config/nvim/lua/git.lua2
-rw-r--r--.config/nvim/lua/lsp_conf.lua2
2 files changed, 2 insertions, 2 deletions
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'] = '<cmd>lua require"gitsigns".stage_buffer()<CR>',
['n hu'] = '<cmd>lua require"gitsigns".undo_stage_hunk()<CR>',
['n hp'] = '<cmd>lua require"gitsigns".preview_hunk()<CR>',
- ['n hB'] = '<cmd>lua require"gitsigns".blame_line(true)<CR>',
+ ['n hB'] = '<cmd>lua require"gitsigns".blame_line{full=true}<CR>',
},
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", "<cmd>lua vim.lsp.buf.references()<CR>", opts)
vim.api.nvim_buf_set_keymap(bufnr, "n", "<space>e", "<cmd>lua vim.lsp.diagnostic.show_line_diagnostics()<CR>", opts)
- lsp_status.on_attach(client)
+ -- lsp_status.on_attach(client)
end