fix(lualine): check that trouble is installed
This commit is contained in:
1 file changed
+1
-1
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user