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