diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2024-08-22 13:06:56 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2024-08-22 13:06:56 -0400 |
| commit | 7bf883de6312465ef32a8a03d27d834601d08d36 (patch) | |
| tree | 8f0b3357c94a40c273a83009d8cacc8e79c9f40b /nvim/lua/plugins/diagnostics.lua | |
| parent | fc46193426c8363f4cf569083e9940a73cae17ec (diff) | |
change trouble quick fix behaviour
Diffstat (limited to 'nvim/lua/plugins/diagnostics.lua')
| -rw-r--r-- | nvim/lua/plugins/diagnostics.lua | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/nvim/lua/plugins/diagnostics.lua b/nvim/lua/plugins/diagnostics.lua index 7865470..9406298 100644 --- a/nvim/lua/plugins/diagnostics.lua +++ b/nvim/lua/plugins/diagnostics.lua @@ -67,7 +67,15 @@ return { }, { "<leader>dq", - "<cmd>Trouble qflist toggle<cr>", + function() + require("trouble").toggle({ + mode = "qflist", + auto_close = true, + auto_preview = false, + focus = true, + follow = false, + }) + end, desc = "Quickfix List (Trouble)", }, }, |
