19 lines
576 B
Lua
19 lines
576 B
Lua
local is_ssh_session = (os.getenv("SSH_CONNECTION") or os.getenv("SSH_CLIENT") or os.getenv("SSH_TTY"))
|
|
|
|
return {
|
|
"folke/tokyonight.nvim",
|
|
lazy = false,
|
|
priority = 1000,
|
|
|
|
init = function()
|
|
require("tokyonight").setup({
|
|
transparent = not is_ssh_session,
|
|
dim_inactive = true,
|
|
on_highlights = function(highlights)
|
|
-- Make delete sections in diff look better
|
|
highlights["DiffDelete"]["fg"] = "#3e415b"
|
|
end,
|
|
})
|
|
vim.cmd.colorscheme "tokyonight-night"
|
|
end,
|
|
}
|