mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
fix(lualine): check that trouble is installed
This commit is contained in:
parent
4035768195
commit
d108169e95
1 changed files with 1 additions and 1 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue