diff --git a/lua/config/postopts.lua b/lua/config/postopts.lua index 0688e43..418c045 100644 --- a/lua/config/postopts.lua +++ b/lua/config/postopts.lua @@ -7,3 +7,13 @@ require("utils.blinky").setup(vim.g.blinky) if vim.fn.executable("nvr") == 1 then vim.env.GIT_EDITOR = "nvr -cc split --remote-wait +'set bufhidden=wipe'" end + +-- Check for termux +local prefix = vim.env.PREFIX + +-- Check if prefix contains "com.termux" +if prefix ~= nil then + if prefix:match("com.termux") then + vim.g.useimage = false + end +end