From 7d7f28d9b078a25c60d49c0a3904f7bd8c7940ca Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Thu, 13 Feb 2025 21:44:51 -0600 Subject: fix tty colorscheme issues and use default file selector --- lua/tjk/plugins/colorscheme.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lua/tjk/plugins/colorscheme.lua') diff --git a/lua/tjk/plugins/colorscheme.lua b/lua/tjk/plugins/colorscheme.lua index bb62cb3..2bffef6 100644 --- a/lua/tjk/plugins/colorscheme.lua +++ b/lua/tjk/plugins/colorscheme.lua @@ -4,14 +4,9 @@ if os.getenv "USER" == "root" then return {} end --- disable gruvbox and termguicolors when in a tty -if os.getenv "DISPLAY" == nil then - vim.opt.termguicolors = false - return {} -end - return { "ellisonleao/gruvbox.nvim", + enabled = vim.opt.termguicolors._value, priority = 9001, config = function() vim.o.background = "dark" -- cgit v1.2.3