repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

neovim/lua/bugabinga/options/tty.lua

Raw
local is_tty = vim.env.XDG_SESSION_TYPE == 'tty' and vim.env.SSH_TTY == ''
if is_tty then
  vim.opt.termguicolors = false
  vim.g.nerdfont = false
  vim.opt.lazyredraw = true
else
  vim.opt.termguicolors = true
  vim.g.nerdfont = true
  vim.opt.lazyredraw = false
end