MAJOR: Refactor configuration structure

The details of the change is documented in the readme.

If your config stops working, I'm fully responsible :)
This commit is contained in:
hedy
2023-11-08 13:56:09 +08:00
parent 04f9d4ad26
commit 29ed132f07
11 changed files with 388 additions and 277 deletions

View File

@@ -40,7 +40,7 @@ M.kinds = {
}
function M.icon_from_kind(kind)
local symbols = config.options.symbols
local symbols = config.o.symbols.icons
if type(kind) == 'string' then
return symbols[kind].icon