From fa69ec479b6dece0059592f125063632fa3f6c18 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Fri, 30 Dec 2022 15:55:46 +0100 Subject: [PATCH] nvim: add hlargs, trouble --- .config/nvim/lua/config/plugins/init.lua | 33 ++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/config/plugins/init.lua b/.config/nvim/lua/config/plugins/init.lua index 8943a66..0bfd7e3 100644 --- a/.config/nvim/lua/config/plugins/init.lua +++ b/.config/nvim/lua/config/plugins/init.lua @@ -1,12 +1,41 @@ return { - "hashivim/vim-terraform", - "jose-elias-alvarez/typescript.nvim", + "tjdevries/colorbuddy.vim", "wbthomason/packer.nvim", "jose-elias-alvarez/nvim-lsp-ts-utils", "jjo/vim-cue", "ckipp01/stylua-nvim", + { + "m-demare/hlargs.nvim", + event = "VeryLazy", + enabled = true, + config = { + excluded_argnames = { + usages = { + lua = { "self", "use" }, + }, + }, + }, + }, + + { + "folke/trouble.nvim", + cmd = { "TroubleToggle", "Trouble" }, + config = { + auto_open = false, + use_diagnostic_signs = true, + }, + keys = { + { "xx", "TroubleToggle" }, + { "xw", "TroubleToggle workspace_diagnostics" }, + { "xd", "TroubleToggle document_diagnostics" }, + { "xl", "TroubleToggle loclist" }, + { "xq", "TroubleToggle quickfix" }, + { "gR", "TroubleToggle lsp_references" }, + }, + }, + { "smjonas/inc-rename.nvim", cmd = "IncRename",