aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/lua/plugins/diagnostics.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/plugins/diagnostics.lua')
-rw-r--r--nvim/lua/plugins/diagnostics.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nvim/lua/plugins/diagnostics.lua b/nvim/lua/plugins/diagnostics.lua
index 9406298..ca60f0a 100644
--- a/nvim/lua/plugins/diagnostics.lua
+++ b/nvim/lua/plugins/diagnostics.lua
@@ -16,7 +16,7 @@ return {
if vim.o.ft == "trouble" then
trouble.close(opts)
else
- trouble.focus()
+ trouble.focus("diagnostics")
end
else
trouble.open(opts)