refactor: centralize configuration data to require data module

This commit is contained in:
2024-08-23 10:04:54 -04:00
parent a6e251fe2a
commit 9a6d4e4158
7 changed files with 54 additions and 351 deletions
+2 -4
View File
@@ -125,6 +125,7 @@ return {
"xiyaowong/transparent.nvim",
lazy = true,
config = true,
keys = {
{
"<leader>wt",
@@ -158,9 +159,6 @@ return {
)
end,
},
cond = function() -- Not Using SSH
local ssh = os.getenv("SSH_TTY") or false
return not ssh
end,
cond = not require("data.func").is_ssh(),
},
}