Switched to using pcall for imports
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
require('lualine').setup {
|
||||
local setup, lualine = pcall(require, 'lualine')
|
||||
if not setup then
|
||||
return
|
||||
end
|
||||
|
||||
lualine.setup {
|
||||
options = {
|
||||
icons_enabled = true,
|
||||
theme = 'auto',
|
||||
|
||||
Reference in New Issue
Block a user