mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-28 22:54:49 +02:00
wrap requires in pcall
This commit is contained in:
parent
0e2ad0c1fe
commit
716f127e95
12 changed files with 58 additions and 16 deletions
|
@ -1,4 +1,8 @@
|
|||
require("colorizer").setup({ "*" }, {
|
||||
local status_ok, colorizer = pcall(require, "colorizer")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
colorizer.setup({ "*" }, {
|
||||
RGB = true, -- #RGB hex codes
|
||||
RRGGBB = true, -- #RRGGBB hex codes
|
||||
RRGGBBAA = true, -- #RRGGBBAA hex codes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue