aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/options.lua
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2023-12-06 10:55:50 -0800
committerGitHub <noreply@github.com>2023-12-06 10:55:50 -0800
commit08545bd45b80e3056fc8c6c4eb25e2ef1fddd897 (patch)
tree798ac51dc30ebc95617ffdbaaa4c474d70b3d226 /runtime/lua/vim/_meta/options.lua
parentca7f8786a0eb578895400e23cd21e25cc0f91800 (diff)
parenta5a346678a8211ea07f318de42e557ad3909f65e (diff)
downloadrneovim-08545bd45b80e3056fc8c6c4eb25e2ef1fddd897.tar.gz
rneovim-08545bd45b80e3056fc8c6c4eb25e2ef1fddd897.tar.bz2
rneovim-08545bd45b80e3056fc8c6c4eb25e2ef1fddd897.zip
Merge pull request #26407 from gpanders/default-tgc
feat(defaults): enable 'termguicolors' by default when supported by terminal
Diffstat (limited to 'runtime/lua/vim/_meta/options.lua')
-rw-r--r--runtime/lua/vim/_meta/options.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index d2bdab4d28..5e65ca6b1b 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -6941,6 +6941,10 @@ vim.go.tbidi = vim.go.termbidi
--- attributes instead of "cterm" attributes. `guifg`
--- Requires an ISO-8613-3 compatible terminal.
---
+--- Nvim will automatically attempt to determine if the host terminal
+--- supports 24-bit color and will enable this option if it does
+--- (unless explicitly disabled by the user).
+---
--- @type boolean
vim.o.termguicolors = false
vim.o.tgc = vim.o.termguicolors