mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-02 11:38:30 -04:00
matugen/neovim: respect terminalsAlwaysDark
port 1.5
This commit is contained in:
@@ -44,6 +44,10 @@ if mode ~= nil then
|
||||
end
|
||||
end
|
||||
|
||||
if settings.terminalsAlwaysDark then
|
||||
vim.o.background = "dark"
|
||||
end
|
||||
|
||||
local current_file_path = debug.getinfo(1, "S").source:sub(2)
|
||||
local theme_base = deepGet(settings, { "matugenTemplateNeovimSettings", vim.o.background, "baseTheme" })
|
||||
or ("github_" .. vim.o.background)
|
||||
|
||||
Reference in New Issue
Block a user