nvim: add hlargs, trouble

This commit is contained in:
Daniel Lundin 2022-12-30 15:55:46 +01:00
parent ed33147a1f
commit fa69ec479b

View file

@ -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 = {
{ "<leader>xx", "<cmd>TroubleToggle<cr>" },
{ "<leader>xw", "<cmd>TroubleToggle workspace_diagnostics<cr>" },
{ "<leader>xd", "<cmd>TroubleToggle document_diagnostics<cr>" },
{ "<leader>xl", "<cmd>TroubleToggle loclist<cr>" },
{ "<leader>xq", "<cmd>TroubleToggle quickfix<cr>" },
{ "gR", "<cmd>TroubleToggle lsp_references<cr>" },
},
},
{
"smjonas/inc-rename.nvim",
cmd = "IncRename",