mirror of
https://github.com/gabehf/base46.git
synced 2026-03-18 03:36:29 -07:00
use lua/themes instead of custom/themes (#291)
This commit is contained in:
parent
15ed57cdeb
commit
e3427f6a6c
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ local config = require "nvconfig"
|
||||||
|
|
||||||
M.get_theme_tb = function(type)
|
M.get_theme_tb = function(type)
|
||||||
local default_path = "base46.themes." .. config.ui.theme
|
local default_path = "base46.themes." .. config.ui.theme
|
||||||
local user_path = "custom.themes." .. config.ui.theme
|
local user_path = "themes." .. config.ui.theme
|
||||||
|
|
||||||
local present1, default_theme = pcall(require, default_path)
|
local present1, default_theme = pcall(require, default_path)
|
||||||
local present2, user_theme = pcall(require, user_path)
|
local present2, user_theme = pcall(require, user_path)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue