diff --git a/lua/plugins/common.lua b/lua/plugins/common.lua index 2b3c428..bd722b3 100644 --- a/lua/plugins/common.lua +++ b/lua/plugins/common.lua @@ -47,12 +47,4 @@ return { } end, }, - { - 'folke/trouble.nvim', - dependencies = { 'nvim-tree/nvim-web-devicons' }, - opts = {}, - keys = { - { 'd', 'TroubleToggle', desc = 'diagnostic quickfix' }, - }, - }, } diff --git a/lua/plugins/trouble.lua b/lua/plugins/trouble.lua new file mode 100644 index 0000000..bfa758d --- /dev/null +++ b/lua/plugins/trouble.lua @@ -0,0 +1,9 @@ +return { + 'folke/trouble.nvim', + dependencies = { 'nvim-tree/nvim-web-devicons' }, + opts = {}, + cmd = 'Trouble', + keys = { + { 'd', 'Trouble diagnostics toggle', desc = 'diagnostic quickfix' }, + }, +}