diff options
author | Tim Keller <tjkeller.xyz> | 2025-02-13 21:44:51 -0600 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2025-02-13 21:44:51 -0600 |
commit | 7d7f28d9b078a25c60d49c0a3904f7bd8c7940ca (patch) | |
tree | 0642c61c35eb697e0f3cd051ba600cae68911cf5 /lua/tjk/plugins/colorscheme.lua | |
parent | ab88b671b6fb7943371dba5ea43ed9d227310459 (diff) | |
download | nvim-7d7f28d9b078a25c60d49c0a3904f7bd8c7940ca.tar.xz nvim-7d7f28d9b078a25c60d49c0a3904f7bd8c7940ca.zip |
fix tty colorscheme issues and use default file selector
Diffstat (limited to 'lua/tjk/plugins/colorscheme.lua')
-rw-r--r-- | lua/tjk/plugins/colorscheme.lua | 7 |
1 files changed, 1 insertions, 6 deletions
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" |