Set vim.env.TERM to 'dumb' to remove ANSI formatting

This commit is contained in:
Hanul 2025-12-26 19:04:00 -08:00 committed by GitHub
parent 3338d39206
commit 26b6947949
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -166,6 +166,9 @@ vim.o.scrolloff = 10
-- See `:help 'confirm'`
vim.o.confirm = true
-- Removes ANSI formatting characters (like `\033[31m`) printed by shell escape commands (like `:!ls`)
vim.env.TERM = 'dumb'
-- [[ Basic Keymaps ]]
-- See `:help vim.keymap.set()`