Skip to content

Commit 7aba47b

Browse files
committed
👽 Replace ansicolors by warna
1 parent cad7599 commit 7aba47b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lua/prompt/style.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ else
88
_, lfs_ = pcall(require, "lfs")
99
end
1010
local lfs = lfs_
11-
local ansicolors = require "ansicolors"
11+
local warna = require "warna"
12+
warna.options.level = 3
13+
local ansicolors = warna.format
1214
local prompt = require "prompt"
1315
---@diagnostic disable: deprecated
1416
if table.unpack == nil then table.unpack = unpack end

template.rockspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ description = {
1818

1919
dependencies = {
2020
"lua >= 5.1",
21-
"ansicolors",
21+
"warna",
2222
"argparse",
2323
"luafilesystem",
2424
"luaprompt"

0 commit comments

Comments
 (0)