fix(lualine): check that trouble is installed

This commit is contained in:
Folke Lemaitre committed 2024-07-07 08:47:57 +02:00
1 parent 4035768195
commit d108169e95
1 file changed
+1 -1
+1 -1
View File
@@ -198,7 +198,7 @@ return {
}
-- do not add trouble symbols if aerial is enabled
if vim.g.trouble_lualine then
if vim.g.trouble_lualine and LazyVim.has("trouble.nvim") then
local trouble = require("trouble")
local symbols = trouble.statusline
and trouble.statusline({