1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-01 19:49:25 +00:00

[neovim] update plugins

This commit is contained in:
2022-11-12 13:23:32 +01:00
parent 2073c7e453
commit e04ec2d1b5
3 changed files with 12 additions and 35 deletions

View File

@ -11,21 +11,8 @@ gitsigns.setup({
topdelete = { hl = "GitSignsDelete", text = "", numhl = "GitSignsDeleteNr", linehl = "GitSignsDeleteLn" },
changedelete = { hl = "GitSignsChange", text = "", numhl = "GitSignsChangeNr", linehl = "GitSignsChangeLn" },
},
signcolumn = true,
watch_gitdir = {
interval = 1000,
follow_files = true,
},
attach_to_untracked = true,
sign_priority = 6,
update_debounce = 100,
status_formatter = nil,
preview_config = {
border = "rounded",
style = "minimal",
relative = "cursor",
row = 0,
col = 1,
},
on_attach = function(bufnr)
@ -39,6 +26,7 @@ gitsigns.setup({
map({ "n", "v" }, "<leader>hs", ":Gitsigns stage_hunk<CR>")
map({ "n", "v" }, "<leader>hr", ":Gitsigns reset_hunk<CR>")
map("n", "<leader>hp", gs.preview_hunk)
map("n", "<leader>hR", gs.reset_buffer)
end,
})

View File

@ -11,11 +11,6 @@ vim.api.nvim_set_keymap(
{ noremap = true }
)
illuminate.configure({
providers = {
"lsp",
"treesitter",
"regex",
},
delay = 200,
filetypes_denylist = {
"neo-tree",
@ -23,10 +18,4 @@ illuminate.configure({
"Trouble",
"TelescopePrompt",
},
filetypes_allowlist = {},
modes_denylist = {},
modes_allowlist = {},
providers_regex_syntax_denylist = {},
providers_regex_syntax_allowlist = {},
under_cursor = true,
})