feat: support themes other than defaults

Try to activate a theme if not presented in defaults. Accordingly,
add the option `ui.colors` to provide the missing `hl_theme*` in
the custom theme.
This commit is contained in:
tuberry
2022-03-26 16:00:31 +05:30
committed by siduck
parent 958a62bc67
commit ec5017126c
2 changed files with 22 additions and 9 deletions
+1
View File
@@ -46,6 +46,7 @@ M.options = {
M.ui = {
hl_override = "", -- path of your file that contains highlights
colors = "", -- path of your file that contains colors
italic_comments = false,
theme = "onedark", -- default theme