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/options.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lua/tjk/options.lua') diff --git a/lua/tjk/options.lua b/lua/tjk/options.lua index ee54753..945536a 100644 --- a/lua/tjk/options.lua +++ b/lua/tjk/options.lua @@ -28,7 +28,7 @@ opt.smartcase = true -- ...unless the search term is capital -- experimental opt.smartindent = true -opt.wildmode = "longest:list:full" -- Better auto-complete +--opt.wildmode = "longest:list:full" -- Better auto-complete -- dont continue comments on to new lines (:help fo-table) api.nvim_create_autocmd("FileType", { pattern = "*", callback = function() @@ -37,3 +37,10 @@ end}) -- ignore __pycache__ directories in file listings opt.wildignore = "__pycache__/,*/__pycache__/" + +-- for running in tty +if os.getenv "TERM" == "linux" then + vim.cmd.colorscheme "vim" + opt.termguicolors = false + opt.list = false +end -- cgit v1.2.3